Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C++ is having trouble using a VFP exe
Message
From
21/11/2002 12:18:11
 
 
To
19/11/2002 12:06:25
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00724369
Message ID:
00725321
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform