How can you tell programmatically if ProjectWise (AAMODULE_EXPLORER) is initalized?

I am writing plug-ins for use in a product. I am attempting to write them so that if the applicaiton is opened from ProjectWise, it knows that pw is initalized and it does not need to ask for a login.  I also want for it to initalize and ask for a login if the application was not opened from ProjectWise.  I tried using NULL == aaApi_GetActiveDatasource(), but am receiving NULL for both cases. Is there an API way to do this or do I have to poll the windows active programs?

Parents Reply Children
No Data