Feb 8th, 2012, 3:45pm
   FabulaTech Forum
   Serial Port Solutions
   Network Serial Port Kit
(Moderators: Alex_Webster, Harry_Mitkov, Andrew, Mike, George_White)
   Debugging with the NSPK's ApiDll.dll
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Print Print
   Author  Topic: Debugging with the NSPK's ApiDll.dll  (Read 207 times)
rhayek
FabulaTech Forum Newbie
*





   
View Profile

Posts: 4
Debugging with the NSPK's ApiDll.dll
« on: Aug 17th, 2005, 4:03pm »
Quote Quote Modify 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.
IP Logged
Andrew
FabulaTech Forum Moderator
FabulaTech Forum Senior Member
*****






   
View Profile WWW

Gender: male
Posts: 427
Re: Debugging with the NSPK's ApiDll.dll
« Reply #1 on: Aug 18th, 2005, 3:45am »
Quote Quote Modify Modify

Our answer will be sent to your email address.
IP Logged

Andrew Scott

FabulaTech
===================
http://www.fabulatech.com
Pages: 1  Reply Reply Notify of replies Notify of replies Print Print

« Previous topic | Next topic »