> I'm getting an error trying to create the HTTPX COM object.
> Has anyone been able to use this with CF? It looks great.
> It's built on WinSock and supports SSL, headers, basically
> everything you'd ever need for HTTP requests, but it's
> somewhat complicated to use. If people are interested,
> it's at http://www.mabry.com/httpx.
>
> Anyway, I'm getting this error:
> ***************************************************
>
> Error trying to create object specified in the tag.
>
> COM error 0x800401F3. Invalid class string
...
> <cfobject action="create" type="com" class="Mabry.HttpXCtl"
> Name="httpobj">
>
> I'm using the class specified in the HTTPX documentation,
> and I checked the registry and found this class, so I'm not
> sure why this isn't working.
I was able to get this component working under CF with the following code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Mabry HTTP/X Test</title>
</head>
<body>
<cfobject type="COM" name="objHTTP" class="Mabry.HttpXCtl" action="CREATE">
<cfscript>
//objHTTP = CreateObject("COM", "Mabry.HttpXCtl");
objHTTP.Blocking = "Yes";
objHTTP.BlockingMode = 1;
objHTTP.URL = "http://www.allaire.com/";
objHTTP.Get();
objResponse = objHTTP.Response;
</cfscript>
<cfoutput>#objResponse.Body#</cfoutput>
</body>
</html>
I'm using it on the machine on which I installed the demo version of the
component. You might want to either try manually registering the component
using REGSVR32.EXE, or uninstalling and reinstalling it using SETUP.EXE.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
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.