ServerXMLHTTP object gives Automation error in VB6

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?
LVL 1
rajesh_khaterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Frosty555Commented:
Aw man I think you're out of luck here.

ServerXMLHTTP has a minimum requirement of Windows 2000 and up.

http://msdn2.microsoft.com/en-us/library/ms762278.aspx

"Supported platforms include Microsoft Windows® 2000, or Microsoft Windows NT® 4.0 with Microsoft Internet Explorer 5.01 (or later) installed. ServerXMLHTTP fails on other platforms, such as Microsoft Windows 98."
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.