Dear All,
Sorry to break the silence but I have a bit of a dilemma with CFOBJECT. I am trying to
call an object on the server using the fillowing code.
<CFOBJECT TYPE="COM" CLASS="DataCash.XMLTransaction" ACTION="Create"
NAME="objDataCash">
<CFSET dummyvar = objDataCash.start( FORM.configpath )>
But I get the following error;
Error Diagnostic Information
An error occurred while evaluating the expression:
dummyvar = objDataCash.start( configpath )
Error near line 22, column 8.
The symbol you have provided (objDataCash.start) is not the name of a function.
Built-in functions in ColdFusion have names with no qualifiers, i.e., no periods (.)
in them.
I know the object is on the system and works because an example that I have can use
asp to access it.
configpath = Request.Form.Item("configpath")
set datacash = CreateObject("DataCash.XMLTransaction")
datacash.start( configpath )
In some ways it would be logical to go with the asp solution but I don't know enough
about asp to support it and the system has to be ultra-stable.
Any help would be greatly appreciated, because this is doing my head in - and not in a
good way.
Martin L. Gill, MSc - Head Programmer
For & on Behalf of UniTech
(The Universal Information Technology Group Ltd)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
URL: http://www.unitech.net
Email: [EMAIL PROTECTED]
UniTech House, 25 Bernard Street, Leith, Edinburgh, EH6 6SH
Tel: +(44) 0131 472 5555
DDI: +(44) 0131 472 5560
Fax: +(44) 0131 472 5556
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]