Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't Pass Parameters to The DLL
Message
De
23/01/1999 11:22:30
 
 
À
23/01/1999 10:01:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00179341
Message ID:
00179389
Vues:
25
>Hi Ed Rauh,
> I try to use Out32(739,128) but when i run it error message appear "Can't find entry point Out in the DLL.
> Below is the Declare of the VB code :
>>Public Declare Function Inp Lib "inpout32.dll" _
>>Alias "Inp32" (ByVal PortAddress As Integer) As Integer
>>Public Declare Sub Out Lib "inpout32.dll" _
>>Alias "Out32" (ByVal PortAddress As Integer, ByVal Value As Integer)
>
> Can you help me to convert to VFP declare command ? How do i pass the parameters to the procedure ?

The declare is correct given what you've told me; it either can't find the .DLL (it is not in your Windows, Windows\System, or the CWD) or the exact entrypoint name is incorrect. The case of the declared entrypoint must match the name of the entrypoint exactly; if it's out and you declare it as Out it won't work.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform