Hello
You might want to double check that you are giving the GetVersionInfo() the name of the correct file. The GetCommandLine() will return the name of the executable ( in this case, the software using the dll) and not the name of the dll itself. If you can pass the function the actual name of the dll, it should work
Bilal Durrani
NI
Bilal Durrani
NI