Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Void structure?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
01379065
Message ID:
01379091
Views:
21
>Both Integer and Long cause a "Declare DLL call caused an exception".
>
>DECLARE Integer ASX_System_Create IN asX32.dll Integer, Integer @
>
>PRIVATE lReturn
>lReturn = ""
>
>PRIVATE lHandle
>lHandle = 0
>
lReturn = ASX_System_Create(1, @lHandle)

There's no difference between Integer and Long in DLL declaration.
The DECLARE and call looks correct to me but lets try this
DECLARE Integer ASX_System_Create IN asX32.dll Integer, String @
lcHandle = REPLICATE(CHR(0),8)
lReturn = ASX_System_Create(1, @lcHandle)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform