Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert VB Type Statement to VFP
Message
From
10/04/1998 16:46:00
 
 
To
10/04/1998 16:43:51
Osmaro Gariando
Michelin Asia Pacific Support Center
Manila, Philippines
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00091180
Message ID:
00091197
Views:
25
>Edward
>
>Your right Sir and actually it has a link in calling a DLL and my problem was i did'nt how convert it or what parameter type will i used in VFP using Declare Statement..
>
>I have a VB Code that has Define Data Structure like this...
>
>*
>* SP_INIT : initialize dAta Structure..
>
>type SP_INIT
> istatus As long
> SEnv as String * 10
> Sversion as String * 5
>end type
>
>* VB PROTOTYPE
>*
>* Declare Function SP_initialized Lib "SP_W32" (ocinitdata as Ocinit) as Long
>
>I try to convert it to VFP statement but i'm stack with VB type statement like
>the example above..
>
>* VFP Prototype
>*
>* Declare long SP_initialized "SP_W32" ocnitdata as ??????
>
>i did'nt know what parameter type will i used... I'm thinking it is posible to used function statement in VFP .
>
>Thank again for you responsed ...
>osmar

Look at DECLARE-DLL command. It should satisfy you.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform