PC Review


Reply
Thread Tools Rate Thread

CreateInstance intermit failure

 
 
Paul Shpilsher
Guest
Posts: n/a
 
      4th Apr 2005
Hi all,

Maybe this is not the right NG, and I apologize, but I am really desperate
and looking for help everywhere...

I have weird problem: My program uses free threaded COM. Once in a while
(depending on routines I call) I instantiate ADO, use it and release.
Everything works fine on XP Professional, however, when I run it on Windows
2000 server, in the beginning everything works fine, and then, out of
nowhere, I get (0x80010105 HRESULT) from:

ADODB::_ConnectionPtr spConn;
hr = spConn.CreateInstance( ADODB::CLSID_Connection );


Similar behavior I get when I instantiate VBScriprt's RegExp component in
the same program. But here I am catching 0xC0000005 error from
m_spRegExp.CreateInstance( __uuidof(VBS_REGEX::RegExp) );


Yes, I know... maybe I don't release objects properly, or some other bug in
my software... I've tried almost everything there is to try.... the bottom
line It WORKS on XP sp2, but not on 2000 server sp4.

Please help, I am up against the wall here.

Thanks.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CreateInstance intermit. falire Paul Shpilsher Microsoft Windows 2000 Developer 0 4th Apr 2005 08:32 PM
Moving User from OU=A to OU=B still runs OU=A logon script intermit. Graham Prentice Microsoft Windows 2000 Group Policy 5 23rd Jan 2005 02:12 PM
Difference Between assembly.CreateInstance and System.Activator.CreateInstance John Jenkins Microsoft C# .NET 1 14th Oct 2004 10:00 PM
Difference Between CurrentDomain.CreateInstance and Activator.CreateInstance b0yce Microsoft Dot NET 0 23rd Mar 2004 03:56 PM
Difference Between CurrentDomain.CreateInstance and Activator.CreateInstance b0yce Microsoft C# .NET 0 22nd Mar 2004 04:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:44 AM.