Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB type statement using declare statament
Message
From
11/04/1998 16:50:23
Osmaro Gariando
Michelin Asia Pacific Support Center
Manila, Philippines
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
VB type statement using declare statament
Miscellaneous
Thread ID:
00091341
Message ID:
00091341
Views:
55
I have a VB Code that has Define Data Structure like this using VB type statement

*
* SP_INIT : initialize dAta Structure..
******************************************

type SP_INIT
istatus As long
SEnv as String * 10
Sversion as String * 5
end type

**** VB PROTOTYPE using declare
*******************************

Declare Function SP_initialized Lib "SP_W32" (ocinitdata as SP_init) as Long

I try to convert it to VFP statement but i'm stack with VB like the example above CoZ it used the type parameter instead of parameter given by VFP like (Long,String,Integer .....)

* VFP Prototype using declare
*******************************
Declare long SP_initialized in "SP_W32" ????? @ocnitdata
????- Must be SP_INIT


i did'nt know what parameter type will i used... I'm thinking it is posible to used function statement in VFP . or Create cursor or maybe Dimension


Thanks so much in advace...
osmar
RE:Thanks Edward for your responsed..
Next
Reply
Map
View

Click here to load this message in the networking platform