How do I find whether a DLL file written in C# is registered or not programmatically?
I already tried this code, but it doesn't come off.
If I register a DLL file and check using this code it returns. If I unregister it and run this same piece of code, it returns true again. I'm giving the fullpath of the DLL file as argument.
We developed a simple DLL file in Visual C++. After that we registered it. Now we want to confirm wheteher it is registered.
Bob, will you replace the piece of code on your own, it is still difficult for me?
If I register a DLL file, is there an entry present in the registry? Shall I find those entries and judge wheteher the DLL file is registered or not?
The last answer is working with some modifications. I looked in typelib instead of clsid.
earwicker der:
Anyway, I have done it with a slight modification. It's working now.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…