Hello everyone,

I am migrating my C++ COM server to managed code (C# COM server). I am using the same client to use the same COM class in COM server. The C++ version COM server works properly, but when using the C# COM server, there is a strange error indicating dll is not installed correctly (data link error).

I have tried to delete the DLL at the same time to test whether the DLL could be found correctly when the client is invoking the DLL, and Windows system reports error message indicating that the DLL is in use -- so I think the DLL should be able to found. Why COM client will report the strange error indicating the DLL is not installed properly (C# COM server)?

Any check list to solve this issue?

thanks in advance,