jgyenese

How to determine if PSDK is installed and load it dynamically?

Discussion created by jgyenese on Sep 16, 2013
Latest reply on Sep 17, 2013 by jgyenese

We are developing an application that has support for multiple communication drivers, one of which being the PISDK. However the PISDK is unique in that it is the only that does not grant us redistribution rights. Therefore, we cannot be certain it will be installed with our application (some customers may not even have PI systems).

 

What we would like to do is determine in code if the PISDK is installed. If it is installed we would enable the selection as a comm driver, if not we would dim that feature indicating it is not available. I think that to do this would require compiling without referencing the PISDK then loading it dynamically if it is installed. Does anyone know how this would be accomplished? Is there an example anywhere?

Outcomes