Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call for small C routine
Message
De
22/01/2003 09:11:10
 
 
À
22/01/2003 08:33:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00743550
Message ID:
00744214
Vues:
8
>>Hi Cetin,
>>
>>We got your program to run. Big excitement! It is a very empowering feeling to be able to do anything in C++! In the mean time, the provider of the ActiveX control showed us a way to get the value we need via a property that I didn't know existed... Nonetheless, I still want to finish this project with your help, if you don't mind.
>>
>>The call to the ActiveX has this form:
>>In C++:
>>BOOL CSpreadSheet::GetText (long Col, long Row, VARIANT* Var);
>>In vb:
>>fpSpread.GetText(ByVal Col As Long, ByVal Row As Long, Var As Variant) As Boolean
>>
>>CSpreadSheet and fpSpread refer to the activeX object.
>>
>>1) Can we define a generalized routine that will serve as a bridge to all methods of the ActiveX, or will we have to create an interface routine for each object method we want to access? If so, what would it look like?
>>
>>2) What would code meant to be a go-between specific to this ActiveX method look like?
>>
>>You have already taught me a lot. Thanks again.
>>
>>Alex
>
>Alex,
>A generic method might be (IDispatch) but honestly I don't know how to write.
>Tell provider if possible to build with ATL.
>Cetin

I don't think I can make them change their code. Thank you very much. You have taught me something important.

Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform