Archived

This topic is now archived and is closed to further replies.

citizen3019

COM CoCreateInstance() error

Recommended Posts

hello, running: VC6 SP5 on WIN2K lastest SP calling CoCreateInstance() returns: error -2147221008 (0x800401f0 for you hex fans) The error is not the problem but rather that I cannot find what it means. MSDN Platform SDK states only three return values: REGDB_E_CLASSNOTREG -2147221164(0x80040154) CLASS_E_NOAGGREGATION -2147221232(0x80040110) and... S_OK 0L(I believe) if someone can retrieve or point me toward the COM error code page that contains this value (NOT the WIN32 error code as sometimes MS let''s OLE and WIN32 codes overlap) it would help much! Thank you in advance,

Share this post


Link to post
Share on other sites
quote:
Original post by Nik02
What class are you trying to instantiate?

EDIT:
Would this be of any help?

[edited by - Nik02 on October 16, 2003 3:29:19 PM]


YES, YES, YES!!!
THANK YOU, THANK YOU, THANK YOU!!!

Forgive my enthusiasm but what did you search for specifically because I hunted through my MSDN (v6a) and I got pissed off at the MSDN online (too much coffee today).

I was trying to grab an instance of a DxPlay8 iserver and I know I should have posted in the DirectX forum but I like this forum btr....

Thnx,

Share this post


Link to post
Share on other sites
I grep'd the windows headers for the hex code.
The error is defined in winerror.h.

Glad i could help!

-Nik

EDIT: Google found that link, based on the error name.

[edited by - Nik02 on October 16, 2003 3:41:09 PM]

Share this post


Link to post
Share on other sites