I've got a function that I need to converted from ASP to CF. The logic is
simple, but I am stumbled on how to create the actual object.
I've tried this, but the page just won't finish running. I've got everything
set up on my workstation, and the ASP version works. Thanks!
Does this look right as far as the object creation, compared to ASP below?
<cfobject
type="COM"
name="dlq"
class="DLQueueClient"
action="CREATE">
============================
Function compose(CommandLine)
Set dlc = CreateObject("DLQueueClient")
Status = dlq.ConnectRemote("server", "username", "password", 30)
If Status <> DLQ_ConnStatus_Connected Then Exit Function
Set Job = CreateObject("DLQueueJob")
Job.Name = "mailer"
Job.CommandLine = CommandLine
Error = dlq.SubmitJob(Job, 300, True)
End Function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4