Forward referencing problem
Sai-Lai Lo
S.Lo@orl.co.uk
Tue, 17 Feb 1998 16:06:56 GMT
>>>>> Fredrik Jonsson writes:
> So, once again, what is the common procedure to resolve circular
> reference problems like the one attached?
> Example:
> interface B;
> interface A {
> B CreateB();
> };
The compilation fails not because of circular reference but because the
interface B is not defined when the stub is compiled.
For instance, the following works:
interface B;
interface A {
B CreateB();
};
interface B {
void op();
};
Sai-Lai