Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM Object - almost...
Message
De
08/10/1999 09:25:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
COM Object - almost...
Divers
Thread ID:
00274172
Message ID:
00274172
Vues:
65
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform