Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How is the VFP DECLARE statements for this
Message
From
15/10/1998 20:35:45
 
 
To
15/10/1998 08:12:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00147088
Message ID:
00147321
Views:
27
Can you give us the DECLARE commands you used?

In order to be able to write the correct DECLAREs, tell us what STDCALL, CULONG and CSTRING mean. They look like macros, but they are not standard macros, so, it's impossible to know what's behind them.

Assuming that STDCALL = __stdcall, CULONG = ULONG and CSTRING = LPSTR:

DECLARE INTEGER n__callintci IN nlem32.dll INTEGER, STRING@, INTEGER, INTEGER
DECLARE INTEGER n__callintii IN nlem32.dll INTEGER, INTEGER, INTEGER, INTEGER
DECLARE INTEGER n__callintcc IN nlem32.dll INTEGER, STRING@, STRING@, INTEGER
DECLARE INTEGER n__callintic IN nlem32.dll INTEGER, INTEGER, STRING@, INTEGER

Vlad

>I had translated a C++ declare (for a DLL )to VFP, but entry point not found error appear.
>
>I couldn`t find any error in my code but this not run.
>
>Does someone could translate to VFP DECLAREs this lines?
>
>
>extern STDCALL CULONG n__callintci(CULONG, CSTRING, CULONG, CULONG) nlem32.dll from "_n__callint@16"
>
>extern STDCALL CULONG n__callintii(CULONG, CULONG, CULONG, CULONG) nlem32.dll from "_n__callint@16"
>
>extern STDCALL CULONG n__callintcc(CULONG, CSTRING, CSTRING, CULONG) nlem32.dll from "_n__callint@16"
>
> extern STDCALL CULONG n__callintic (CULONG, CULONG, CSTRING, CULONG) nlem32.dll from "_n__callint@16"
>
>
>Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform