>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.