Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't Pass Parameters to The DLL
Message
De
23/01/1999 02:36:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Can't Pass Parameters to The DLL
Divers
Thread ID:
00179341
Message ID:
00179341
Vues:
83
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform