Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Com object method formatting problem in CF

Status
Not open for further replies.

jfcox

Programmer
Jul 11, 2001
44
US
I have COM object that I'm calling with CFObject. The only examples I have of using it are in VB. I can get the object created but it is crashing on a function that looks like this in the VB example

obj.StartPF outputfile:="C:\test"

When I convert this to it's CF equivilet, it would look something like this

<cfset StartPF = outputfile:=&quot;C:\test&quot;>

which of course won't work. I've tried all kinds of combinations of double and single quotes, substituting variables, DE, etc to handle this statement. Anybody out there know how I could deal with this?

Thanks,
 
What is the COM object you are using? It looks like they are utilizing command line parameters in the object, which doesn't make sense in a DLL file - only executables.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top