Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Com/EXE Parameters
Message
 
To
18/04/2001 13:57:46
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00496841
Message ID:
00496929
Views:
7
>>I've created an exe com object declaring the class as olepublic. After instantiating the object from ColdFusion, I call an object with a one character field parameter. The code in the object is Wait Window TYPE('tParam'). From the browser I see the wait window, but the type I sent as "character" is now logical. For some reason it is not passing the string. I've passed strings to other objects not foxpro and everything works fine. The code from coldfusion is simply:
>>
>>>> TYPE="COM"
>> CLASS=BuildCards.Ctrl
>> NAME="BuildCards">
>>
>>cResult=BuildCards.BuildCards("Character");
>>

>>
>>Any info would be greatly appreciated.
>
>How is your COM EXE setup? Do you have a PRG as it's main program in the project manager? If not, you should. Also, you can't pass a parameter to the Init in a COM component.

Yes there a prg as the projects main program and no I'm not sending the parameters to the init method as indicated above. Any other ideas?
Michael Garcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform