Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C++ is having trouble using a VFP exe
Message
De
21/11/2002 12:18:11
 
 
À
19/11/2002 12:06:25
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00724369
Message ID:
00725321
Vues:
19
Hi Terry.

When writing the COM, try something like this:
DEFINE CLASS object AS Session OF OLEPUBLIC
appName = ""

DIMENSION appName_COMATTRIB(4)
appName_COMATTRIB[1] = COMATTRIB_HIDDEN
appName_COMATTRIB[2] = [Application Name]
appName_COMATTRIB[3] = [appName] && This COMATTRIB keeps the capitalization you specify. If you specified appName, after build it will keep as appName. if you specified ApPnAmE, it should be ApPnAmE after the building
appName_COMATTRIB[4] = [String]

*-- Put the rest of implemetation of the COM here
ENDPROC
I think it takes care of all,
Pablo Márcio de Oliveira

Inside the scream is silent, inside it must remain
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform