Click here to Skip to main content
15,887,328 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
sir ,
I am working on tablet PC application using MICROSOFT.INK DLL in Visual studio 2008
I am facing a problem while opening my source code
i have installed two OS (windows xp) on my laptop. On one OS my code is working fine not showing any error , but on one of the OS it is giving following exception

Retrieving the COM class factory for component with CLSID {65D00646-CDE3-4A88-9163-6769F0F1A97D} failed due to the following error: 80040154.

i have tried following options to solve the problem
1 Reinstall my OS and Visual studio(but still facing same error)
2 tried to register the DLLs but showing Error DLL register server entry not found

Please help me out how i can remove this error
Posted

1 solution

If you're trying to register the file that begins with "Interop", you're registering the wrong one. You need the original .DLL file that you referenced in your project. Run REGSVR32 on that file and it should be good to go.

BTW: Error 80040154 means that the CLSID cannot be found in the registry. You didn't register the COM class you're trying to use.
 
Share this answer
 

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


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900