Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM Object - almost...
Message
From
08/10/1999 09:25:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
COM Object - almost...
Miscellaneous
Thread ID:
00274172
Message ID:
00274172
Views:
66
I am trying to build a COM object based on a .vcx, just going through some notes from 98 DEVCON...

Everything seems to be working fine, but I can not seem to get the vcx to reference properly...

I have built an exe using VFP SP3 that includes a vcx and a stub program for the main.prg

I modified the class and placed a check mark in ole public

Here is how I am trying access the COM object after building:

ophone=newobject('auto_phone','autophon.exe')
ophone.account_id='1002-00'
ophone.ubdir='c:\ub'
ophone.get_data()
? ophone.Total_balance


Shouldn't this work without having to do the following

SET CLASSLIB TO AUTO_PHONE_BASE ADDITIVE

ophone=newobject('auto_phone','autophon.exe')
ophone.account_id='1002-00'
ophone.ubdir='c:\ub'
ophone.get_data()
? ophone.Total_balance

I am wanting to distribute the exe without sending the vcx.

What am I missing here?

Any help is greatly appreciated.
Thanks,

Stacy



Black Mountain Software, Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform