So is IE5 installed on the machines you are having a problem with?

Also note that the Delphi call (in D5) uses the CoCreateInstance parameters
of CLSCTX_INPROC_SERVER or CLSCTX_LOCAL_SERVER.

You may want to try your own call to CoCreateInstance to see if it makes any
difference (it should not). 

And what is the execption you are getting?


> -----Original Message-----
> From: Wilfred Verkley [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, 8 May 2000 12:17
> To:   Multiple recipients of list delphi
> Subject:      RE: [DUG]:  IXMLHttpRequest
> 
> IXMLHttpRequest is part of the XML library that comes with IE 5, you can
> import the type library from system32/msxml.dll.  The XML library is quite
> good, and ive had no troubles with it in Delphi except for this.
> 
> CoXMLHttpRequest is the "factory class" (?) that is used to create
> instances
> of IXMLHttpRequest.  Its inside the type library unit delphi automatically
> creates (MSXML_TLB.pas).
> 
> VB has no problem with this component on NT, so it leads me to think its
> something Delphi (3.0?) specific.  
> 
> Thanks,
> 
> Wilfred.
> 
> -----Original Message-----
> From: Myles Penlington [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 8 May 2000 11:52
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: IXMLHttpRequest
> 
> 
> I maybe on the wrong track here ..
> Are you sure it is the Open and not the actual create??
> I could not find a definition of "CoXMLHttpRequest" either in Delphi or on
> the MSDN site.
> But - what installs the "CoXMLHttpRequest"?
> Is it a special VB library call?
> 
> > -----Original Message-----
> > From:       Wilfred Verkley [SMTP:[EMAIL PROTECTED]]
> > Sent:       Monday, 8 May 2000 10:49
> > To: Multiple recipients of list delphi
> > Subject:    [DUG]:  IXMLHttpRequest
> > 
> > Has anyone used this?  Its a nice little component that lets you do an
> > HTTP
> > post of any streamable content (but primarily meant for XML documents).
> > 
> > With Delphi 3.0, im getting a exception on the NT boxes at work on the
> > "open" method, yet it works fine on my Win98 box at home.  Im having no
> > problems with VB.
> > 
> > i.e.
> > 
> > var
> >   r : IXMLHttpRequest;
> > begin
> >   r := CoXMLHttpRequest.create;
> >   r.open ('POST', 'http://localhost/msxml/test.asp', false, 0, 0);
> >   r.send ('test');
> > 
> >   memo1.lines.add (r.responseText);
> > end;
> > 
> > I realise the error is probably not specifically related to
> > IXMLHttpRequest
> > (why does VB work alright?), but does anyone know what I might me doing
> > wrong in Delphi to get these errors?
> > 
> > (Please help me find an answer so I dont have to use VB...)
> > 
> > Thanks,
> > 
> > Wilfred.
> >
> --------------------------------------------------------------------------
> > -
> >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> --------------------------------------------------------------------------
> -
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> --------------------------------------------------------------------------
> -
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to