Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I use this DLL?
Message
From
02/08/2007 14:30:33
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
To
02/08/2007 03:08:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01241170
Message ID:
01245585
Views:
34
Thanks!

>Hi,
>
>should work like this ...
>
>
>DECLARE INTEGER GetMoadim IN kdate.dll INTEGER day, INTEGER month, ;
>INTEGER year, INTEGER diaspora, STRING @ moadim
>
>LOCAL lcMoadim, lnRetVal
>&& allocate memory for the structure (2 integers 4 bytes each = 8 bytes)
>lcMoadim = SPACE(8)
>lnRetVal = GetMoadim(1,1,1900,0,@lcMoadim)
>?lnRetVal
>&& extract values from "structure string"
>?"Moed", DwordToNum(SUBSTR(lcMoadim,1,4))
>?"Type", DwordToNum(SUBSTR(lcMoadim,5,4))
>
>
>Regards
>Christian
Elyse Pomerantz
Previous
Reply
Map
View

Click here to load this message in the networking platform