How do I pass a character parameter to a method of a
COM object not boolean?

        <cfset charReturnSpecialsMode = 'False'>                I have
tried 0 and 1 also...
        <cfset charDiagnosticMode = 'True'>
        <cfset
objGoShip.setReturnSpecialsMode(charReturnSpecialsMode)>
        <cfset
objGoShip.setDiagnosticMode(charDiagnosticMode)>

I get the error: bad variable type.

The COM object is looking for a bchar value and I
guess CF sends a boolean value.

The VB version of the code works and is:

objGoShip.setReturnSpecialsMode false
objGoShip.setDiagnosticMode true

I need this to be platform independant so I can't use
VB for this, is this possible in CF?

Thanks,

Steve Ackerman
Web Systems Developer

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to