Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters by reference does not work in DLL
Message
 
 
To
01/06/2003 15:48:52
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00795011
Message ID:
00795025
Views:
13
What parameters this DLL function expects? If it expects strings they have to be null-terminated strings. Try
strBaseDir="C:\test" + CHR(0)
strCommand="SIGN" + CHR(0)
>*this works
>DECLARE integer FSL_Command IN rapidsign string strBaseDir, string strCommand
>MR=FSL_command( "C:\TEST", "SIGN")
>
>*this does not work
>DECLARE integer FSL_Command IN rapidsign string@ strBaseDir, string@ strCommand
>strBaseDir="C:\test"
>strCommand="SIGN"
>MR=FSL_command(@strBaseDir, @strCommand)
>
>any explanation ?
>
>*****************************************************************************
> the DLL specifications are :
> * The functions have a PASCAL calling convertion (same as win APIs).
> * The functions provided by this DLL are *NOT* reentrant.
> * Many of these functions are blocking.
> * The complex data types (structures) expected must have a member alignment of 1 byte (ie no padding).
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform