Re: Undefined Symbol: ModuleInfo when Linking DLL Test Program

2010-11-24 Thread GeorgeToth
Found my own mistake: In module Test0 the "import of std.stdio" caused the error. There was nothing in the exports which required elements of std.stdio and somehow (don't know why) it caused ModuleInfo to be incomplete or omitted.

Re: static constructor not working with WinMain GUI app

2010-11-24 Thread Andrej Mitrovic
Ok I've filed a bug report and the fix: http://d.puremagic.com/issues/show_bug.cgi?id=5268 On 11/24/10, Andrej Mitrovic wrote: > This means the windows sample code that comes with DMD in the samples > folder has to be updated, that's where I took the template from. > > Thanks. > > On 11/23/10, Si

Re: static constructor not working with WinMain GUI app

2010-11-24 Thread Andrej Mitrovic
This means the windows sample code that comes with DMD in the samples folder has to be updated, that's where I took the template from. Thanks. On 11/23/10, Simen kjaeraas wrote: > Andrej Mitrovic wrote: > >> maintest.def: >> EXETYPE NT >> SUBSYSTEM WINDOWS >> >> maintest.d: >> http://pastebin.c

Re: public imports and template functions

2010-11-24 Thread Jonathan M Davis
On Wednesday 24 November 2010 00:18:44 Don wrote: > Jonathan M Davis wrote: > > Am I correct in my understanding that if you wish a template function > > which is imported from another module to compile correctly without > > requiring other imports in the module that your using the function in > >

Re: public imports and template functions

2010-11-24 Thread Don
Jonathan M Davis wrote: Am I correct in my understanding that if you wish a template function which is imported from another module to compile correctly without requiring other imports in the module that your using the function in that the module with the template function needs to publically i

public imports and template functions

2010-11-24 Thread Jonathan M Davis
Am I correct in my understanding that if you wish a template function which is imported from another module to compile correctly without requiring other imports in the module that your using the function in that the module with the template function needs to publically import all of the function