Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C callable function
Message
 
 
À
06/08/2002 13:32:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00686637
Message ID:
00686649
Vues:
38
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform