Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Com/EXE Parameters
Message
 
À
18/04/2001 13:57:46
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00496841
Message ID:
00496929
Vues:
8
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform