I'm trying to get a .dll working within some CF pages.  The original
installation had an ASP page, so I have sample code that I need to convert.
The following checks if we can connect to the "Eagle" system:

Dim E4W
Set E4W = Server.CreateObject("triadwebapi.cls3webapi")
Initialize
Sub ConnectToEagle
   sResult = E4W.bConnect()
   IF sResult = "FALSE" Then
      bDisplayMsg = True
      vMsg = "Unable to Connect to Eagle"
   End If
End Sub

I tried to do the same using CF with the code below:

<cfobject type="COM" name="E4W" class="triadwebapi.cls3webapi"
action="CREATE">
<CFSET Connected = E4W.bConnect()>
<CFIF Connected EQ "FALSE">
<B>Unable to Connect to Eagle</B>
<CFELSE>
<B>Connected to Eagle</B>
</CFIF>

I get the following error:

Arguments expected by object does not match arguments specified in the tag.
Error building an argument list for: BCONNECT

Any hints as to what I'm doing wrong?

Thanks!

John

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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