Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HRESULT = REGDB_E_CLASSNOTREG - o.CreateInstance(__uuidof(Neighbor)

Status
Not open for further replies.

magnetic

Programmer
Nov 19, 2002
2
US
I am creating a simple MFC.dll that uses A filenet library. (fnnfo.tlb) in that library a struct is defined as
Neighborhood.

In a code sample ( that works on my machine ) The class

--code--

IFnNeighborhoodDualPtr hood;
HRESULT res = hood.CreateInstance(__uuidof(Neighborhood) );

--code--

This always returns REGDB_E_CLASSNOTREG
However the class is registered, and useable by another app.

The dll operates fine untill this point.

 
The value you are giving _uuidof() is probably incorrect.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top