senthil
senthil

Reputation: 75

COM class factory error: 80040154

My client is getting the following error, i understood that this error is produced due to dll built in 32 bit machine is used in 64 bit machine. But i tried to replicate this error in local by building a simple dotnet dll in windows xp 32 bit, and tried referencing in the windows application in 64 bit machine. Still i am not able to replicate this error. Error Message: Retrieving the COM class factory for component with CLSID {} failed due to the following error: 80040154

plz provide any input on this.

Upvotes: 0

Views: 5016

Answers (1)

Felice Pollano
Felice Pollano

Reputation: 33272

enter code hereTry to ensure that the COM dll you are looking for is correctly registered on the target machine. Then look at the client, if the client is .NET you should compile it in x86 mode in order to use a 32 bit activex library.

Upvotes: 1

Related Questions