Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't Pass Parameters to The DLL
Message
From
23/01/1999 02:36:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Can't Pass Parameters to The DLL
Miscellaneous
Thread ID:
00179341
Message ID:
00179341
Views:
82
I have downloaded a DLL written in Dephi which use for VB and i try to use it in VFP 5 ,but a problem occur. Since in VB it also has a declare command to call the DLL, but in VB it is pass parameters to the procedure. I found that in VFP is pass to function.
Below is my code. my DLL file is inpout32.dll
>DECLARE Integer Inp IN inpout32.dll AS Inp32 integer PortAddress
>DECLARE Out IN inpout32 AS Out32.dll integer PortAddress, integer
>Signal

>*PortAddress = 739
>Signal = 128
>Out(PortAddress, Signal)
>PortAddress = 736

when i run it error message display !! "File out.prg dost not exist"
Anyone know how to solve it ?
Actually the DLL is written for VB and inside the DLL is use procedure not function.
Can i pass the parameters to the procedure inside the DLL ?
How ?

regard,
chang
Next
Reply
Map
View

Click here to load this message in the networking platform