Re: [Haskell] Using putStrLn/printf from DLL in GUI application

2006-12-03 Thread Krasimir Angelov
withConsole doesn't make much sense. The meaning of allocConsole/freeConsole is more like showConsole/hideConsole. You may want to show the console from DllMain when the dll is loaded and to hide it when it is unloaded. You can't do this with withConsole. Cheers, Krasimir On 12/2/06, Sven

Re: [Haskell] Using putStrLn/printf from DLL in GUI application

2006-12-03 Thread Sven Panne
Am Sonntag, 3. Dezember 2006 12:07 schrieb Krasimir Angelov: withConsole doesn't make much sense. The meaning of allocConsole/freeConsole is more like showConsole/hideConsole. You may want to show the console from DllMain when the dll is loaded and to hide it when it is unloaded. You can't do