I am developing a project in VB6.
The project has a reference to msxml3.dll.
I am declaring at module level:
Dim serverHTTP As New MSXML2.ServerXMLHTTP
Now in one function when I first access serverHTTP
serverHTTP.setTimeouts resolveTimeout, connectTimeout, sendTimeout, receiveTimeout
at this point, the code tries to create an object of ServerXMLHTTP.
I get a runtime error at this line:
ERROR:-2147221231 Automation error
This error only comes when I install and run my program in Windows 98.
I have verified that msxml3 exists in Windows system directory, and also registered it manually.
How to solve this problem?