Hi, Claudio.
>Let's say I have two classes in the same PRG, and they're compiled in the same project (DLL).
>
>One of these classes is implementing an interface exposed by the other class (using the IMPLEMENTS keywords and the progID of the class).
>
>It turns out that I cannot build the project because the TLB isn't created yet, so the compiler complains it cannot find the TLB for that interface.
>
>One way to solving this is to compile the project to a second DLL, and then have the first DLL refering to the second. However, this is pretty dumb.
As far as I know, you have to use two separated DLLs, as an interface is based on the vtable of the target DLL. I mean you need to access the other one's Type Library.
Why do you need to put both on the same DLL? It is just a matter of saving the quantity of DLLs?
See you (in a couple weeks? Seattle?),