Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C callable function
Message
 
 
To
06/08/2002 13:32:52
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00686637
Message ID:
00686649
Views:
41
The first part is

declare integer OIAorder_status in oi_api integer hImgHd1, string OrderID, string@ POrderStatus

It looks as though POrderStatus is a structure. Depending on the structure, you can either build a string or use somethnig like Christof Lange's Struct class or Ed Rauh's ClsHeap class and pass to the function. What does the structure look like?

>Hi, I have a "c" lib I need to call in VFP7. This is how it's called in VB. Can anyone help me with the VFP7 code?
>
>Thanks
>Steve
>
>
>****************************************
>Public Declare Function OIAorder_status Lib _
> "oi_api" _
> Alias "#14" _
> (ByVal hImgHdl As Long, _
> ByVal OrderID As String, _
> POrderStatusA As POrderStatus) _
> As Long
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform