winebuild initialisation

Jon Griffiths jon_p_griffiths at
Sat Mar 15 06:47:40 CST 2003


--- Eric Pouech <eric.pouech at> wrote:

> any reason why not use DllMain instead of patching winebuild ?

If you mean the DllMain of msvcrt, there is no way for the it to know
what type of app is calling it AFAICS. Only the generated main knows,
and should inform msvcrt when it starts. Also the handling of main()
is different for natively build apps linked with msvcrt: they should
eventually have a different loop than ExitProcess(main())

Some of these settings can be overriden and should be handled by the
.exe file. Wildcard expansion and the user math errors come to mind.
The patch doesn't allow for that yet, since i figured it would be
best to see if any developers actually _do_ override the default c
library initialisation in their win32 apps before supporting it under


"Don't wait for the seas to part, or messiahs to come;
 Don't you sit around and waste this chance..." - Live

jon_p_griffiths at

Do you Yahoo!?
Yahoo! Web Hosting - establish your business online

More information about the wine-devel mailing list