Hi,
I'm currently trying to port over to a Labview dll a C function that I used on another project which allows me to retrieve the full path of the dll that function has been called from. This function uses GetModuleFilename from Kernell32.dll.
In addition to this the dll handle is copied to a global variable in dllMain (in the C dll), and this handle is passed in to GetModuleFilename.
In labview I can call GetModuleFilenameA using Call Library Function Node succesfully, and pass a zero as the handle, which will give me the path of the executable which is calling the dll. However how can I access the dll handle within Labview, in order to get the full path of the dll?
Cheers,
redfrank