LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Get dlls version inside the dlls to return it into a dlls function

I'm writting code to create dlls and I can't return the dll version inside the dll function. I want to know the version of the current dlls loaded inside themself but when I integrate it into a software, I received the version of the integrated software and not the dlls version. Do you know a function which I can used to return its version into my dlls function ?
Many thanks.
0 Kudos
Message 1 of 2
(2,888 Views)
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
0 Kudos
Message 2 of 2
(2,888 Views)