Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling C++ Com out of Fox
Message
From
03/09/2001 02:25:43
 
 
To
29/08/2001 10:43:25
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00550310
Message ID:
00551695
Views:
21
Hi!

Just a suggestion...:
CREATEOBJECT() is for non-visual components. Visual objects like ActiveX controls require to be used in VFP by putting them on the form as ActiveX control. Try to pu it and see if your object is in the list of ActuveX controls.

>Hello all
>
>i've compiled i tiny ATL COM object in C++, it's the one from the MSDN Library(SimpleCalculator)
>
>how can i instantiate it in VFP?
>
>i'll getting error:
>"Class Definition SIMPLECALCULATOR.CSIMPLECALC not found"
>when i do : CREATEOBJECT("....")
>
>i registered the DLL succesfully with regsvr32
>
>thx in advance
>
>Christian Ehlscheid
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform