reference class parent's function
okibi
okibi at ratedo.com
Tue May 1 09:53:52 PDT 2007
okibi Wrote:
> okibi Wrote:
>
> > Mike Parker Wrote:
> >
> > > okibi wrote:
> > >
> > > >
> > > > That runs at run-time and is all in one module. I need to have it run afterwards and the classes are in separate modules in the program.
> > >
> > > You can execute functions at run time or at compile time. What do you
> > > mean by 'run afterwards'? As for the module problem, what's wrong with
> > > just importing the other module?
> >
> > This is a gtkD application and by after I mean after everything has drawn and is waiting for you to do something. And I am importing the module but it doesn't recognize the first class.
>
> Nobody has any ideas?
Is it just because the second class in in a separate module that gets imported? If I put both classes in the same module, it works fine. Seems to me there would be any easy way for the two to talk seeing as there are in the same program.
More information about the Digitalmars-d-learn
mailing list