Compiling a DLL
Posted on 2002-06-11
Suppose I am writing 2 ActiveX Dlls, say A and B .
First, I write A , compile it and register it on Server ( Which is a different machine from the one in which it was compiled).
Now B calls some method of A . So, I add a reference to A and compile it. Everything works fine.
Next, due to some changes, I need to modify A. I modify, re-compile and re-register ,putting the file at the same place.
Now when I call the method of A from B, it says "Type Mismatch". I figured out that I need to recompile B as well to make everything run correctly.
Why is this so ?