Click here to Skip to main content
11,490,003 members (64,174 online)
Rate this: bad
good
Please Sign up or sign in to vote.
Class not registered error from cocreateinstance lib. function in COM on Windows 7, can any one please help me why i am getting this error thanxin advance.
Posted 21-Nov-10 5:34am
Comments
ManfredRBihy at 21-Nov-10 12:23pm
   
Any more verbose errors, or maybe the code where you invoke coCreateInstance? It may help :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You have to register the COM component, using, for instance, the regsvr32[^] tool.
  Permalink  
v2
Comments
unikapil at 21-Nov-10 10:55am
   
hi pallini , i have registered my component i am in see to my clisid also in registry but still i am getting
CPallini at 21-Nov-10 11:05am
   
Can you create an instance of your component using the OLE/COM Object Viewer tool?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Maybe your component is using another COM component and it is missing. Do you have any more verbose error messages?

Cheers

Manfred
  Permalink  
Comments
unikapil at 21-Nov-10 11:06am
   
Using single component only.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 600
1 Andy Lanng 233
2 OriginalGriff 208
3 Maciej Los 160
4 _duDE_ 141
0 Sergey Alexandrovich Kryukov 9,608
1 OriginalGriff 8,475
2 Sascha Lefèvre 3,419
3 Maciej Los 3,106
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 21 Nov 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100