Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cold Fusion and VFP Com object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Cold Fusion and VFP Com object
Divers
Thread ID:
00431379
Message ID:
00431379
Vues:
56
I am trying to use a VFP COM object in cold fusion.
The dll is registered on the server and with MTS.

The cold fusion code is:

* Create the object
< CFOBJECT ACTION="Create" TYPE="COM" CLASS="sirdll.sirclass" NAME="loSir" >
* Set a parameter
< CFSET loSir.SirKeyIn = #mWhereValue# >
* call the method
< CFSET loSir.GetSirSearch() >

The cold fusion error is:

An error occurred while evaluating the expression:

loSir.GetSirSearch()

Error near line 20, column 7.
--------------------------------------------------------------------------------

The symbol you have provided (loSir.GetSirSearch) is not the name of a function. Built-in functions in ColdFusion have names with no qualifiers, i.e., no periods (.) in them.
********************

Any help would be appreciated. I dont know of too many people here that do Cold Fusion, but there might be some.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform