rhayek
FabulaTech Forum Newbie
Posts: 4
|
|
Debugging with the NSPK's ApiDll.dll
on: Aug 17th, 2005, 4:03pm |
Quote Modify
|
In trying out the NSPK's ApiDll.dll, I was able to incorporate the functions into my VC++ source code, and run my application to create and remove shared ports with the expected results. However, I ran into the following problem: The software works fine when I compile and link my source code (which calls the NSPK API DLL functions), then run it by executing the executable file. But it takes almost 30 seconds to load the library when I try to run my application from the VC++ debugger, after which it works fine. I tried it both ways: by linking ApiDll.lib statically into the application, and when I load it with LoadLibrary(_T("ApiDll.dll")); Thanks in advance for any help.
|