Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call for small C routine
Message
From
21/01/2003 20:30:28
 
 
To
21/01/2003 06:26:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00743550
Message ID:
00744097
Views:
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform