B
Benjamin Lukner
Hi!
I've written a DLL using eVC++ 4.0 that ships with our devices and is
used by a VB.Net "system" program that automatically starts on boot.
HKLM\Loader\SystemPath includes the directory of the DLL.
The DLL is also used by a VB.Net application. Now I updated the DLL and
the application and put both into the same directory.
Problem: When the application P/Invokes the dll the file from the system
directory is taken instead of the file from my own directory!
Q: What is the syntax for a VB.Net 2003 CF P/Invoke to tell it to use
the dll from the own directory?
Kind regards,
Benjamin Lukner
I've written a DLL using eVC++ 4.0 that ships with our devices and is
used by a VB.Net "system" program that automatically starts on boot.
HKLM\Loader\SystemPath includes the directory of the DLL.
The DLL is also used by a VB.Net application. Now I updated the DLL and
the application and put both into the same directory.
Problem: When the application P/Invokes the dll the file from the system
directory is taken instead of the file from my own directory!
Q: What is the syntax for a VB.Net 2003 CF P/Invoke to tell it to use
the dll from the own directory?
Kind regards,
Benjamin Lukner