12-26-2007 11:37 PM
I compiled my0.dll by vistual c++ 2005, linking my1.lib with /MD compiler switch (my1.dll will be dynamically loaded).
It doesn't work with my0.dll at "e:\tmp" and my1.dll at "c:\windows\system32". The error is "the file is not a valid directory".
12-27-2007 10:40 AM
12-27-2007 08:40 PM
12-28-2007 01:08 AM
12-28-2007 04:26 AM - edited 12-28-2007 04:31 AM
12-28-2007 01:40 PM
What you say is only correct for ActivX DLLs. They are registered and then their location is known to the system through its information in the registry that is used to instantiate the ActiveX object(s).
@BadgerSoft wrote:
You can also put the dll anywhere. It does not need to be in the system32 folder.
12-29-2007 03:22 AM
Thanks for Matt W, it is the problem of SysWow64.
Labview8.5 can only reference 32bit dll by "call library funtion node" on Vista64. And the dll is redirected to directory "c:\windows\SysWow64\". That's why Labview can not find the 64bit dll which only resides in directory system32.