Click here to Skip to main content
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 OriginalGriff 274
1 Shweta N Mishra 216
2 PIEBALDconsult 210
3 Sergey Alexandrovich Kryukov 185
4 BillWoodruff 174
0 OriginalGriff 7,620
1 Sergey Alexandrovich Kryukov 6,937
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,495


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 21 Nov 2010
Copyright © CodeProject, 1999-2014
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