Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Cannot load hndlib.dll
Message
From
02/02/2007 12:02:05
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01191263
Message ID:
01191845
Views:
23
I use xfrx and I have that dll on the network and that is the error message that comes up. I moved the api code into a method of the form and now call it from the click event of a command button rather than have it in the click event and it now works.

I am not sure what triggered the error but it happened on both my development computer and the computers at my client.

I saw some code Hilmar offered up last year and he was running it as a function so I decided to try it in a method and voila it worked. Go figure. Interesting I have been running that code for the past 3 years with no problems.


As usual Thanks. As I always tell my developer friends - thank God for Sergey and UT.

Gaylen




>Hi Gaylen,
>
>The hndlib.dll is a part of XFRX. Are you sure that you are not getting error earlier in XFRX?
>
>>I get a "Cannot load 32-bit DLL hndlib.dll" when I use the following code if I call the form with the code one form but not another form. The only difference is that the form that creates the problem has a pageframe on it and the other does not.
>>
>>
>>
>>	 DECLARE Integer FindWindow In win32api String cnull, String cwinname
>>	 DECLARE Integer ShellExecute In shell32.Dll ;
>>	  integer nWinHandle, ;
>>	  string cOperation, ;
>>	  string cFilename, ;
>>	  string cParameters, ;
>>	  string cDirectory, ;
>>	  integer nShowWindow
>>	=ShellExecute(FindWindow(0,_Screen.Caption), "open",lcfilename,"","",1)
>>
>>
>>
>>Anyone have any idea what is happening or a better way to open a pdf from within a form?
>>
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform