Discussion:
CreateInstance fail
(too old to reply)
ddt
2006-02-28 18:56:34 UTC
Permalink
Hi,
I have an application dll which is written by VB6 and running on MTS, it
works fine on one server, but fail on another server. These two servers are
clusted database servers. It looks like when created this as object by
CreateObject method works, but fails while called by createinstance in MTS.
Does anybody can help me?
Thanks in advance,
Brian Muth
2006-02-28 19:16:55 UTC
Permalink
What is the HRESULT of CoCreateInstance?

Are you sure it is running under MTS? This implies you are using Windows NT
4.0.

Brian
ddt
2006-02-28 19:55:30 UTC
Permalink
Thanks Brain:
Actually, I didn't get the HRESULT, I call this dll from another app failed
on New method, but I can create it on CreateObject method. It's on Win2003
server.
Post by Brian Muth
What is the HRESULT of CoCreateInstance?
Are you sure it is running under MTS? This implies you are using Windows NT
4.0.
Brian
Loading...