XmlHttp (DotNet,MSXML.IXMLHttpRequest.'Microsoft.MSXML, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') XmlHttpClass (DotNet,MSXML.XMLHTTPRequestClass.'Microsoft.MSXML, Version=8.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a')
XmlHttp := XmlHttpClass.XMLHTTPRequestClass;
'Cannot create an instance of the following .NET framework object: assembly Microsoft.MSXML, Version=8.0.0.0, Culture-neutral,PublicKeyToken=b03f5f7f11d50a3a, type MSXML.XMLHTTPRequestClass'
Comments
Regards,
Greys
you should assign the constructor result to the variable XmlHttpClass, not to XmlHttp:
XmlHttpClass := XmlHttpClass.XMLHTTPRequestClass;
Oli
I was wrong in my last post.
Here is the solution:
You have assigned an invalid .Net declaration in your variable definition:
use
MSXML.XMLHTTPRequest.'Microsoft.MSXML, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
instead of interfaceMSXML.
IXMLHttpRequest.'Microsoft.MSXML, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'oli