Click here to Skip to main content
13,051,809 members (60,765 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 4:34am
ManfredRBihy 21-Nov-10 12:23pm
Any more verbose errors, or maybe the code where you invoke coCreateInstance? It may help :)
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You have to register the COM component, using, for instance, the regsvr32[^] tool.
unikapil 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 21-Nov-10 11:05am
Can you create an instance of your component using the OLE/COM Object Viewer tool?
Rate this: bad
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?


unikapil 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 21 Nov 2010
Copyright © CodeProject, 1999-2017
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