Discussion:
[MSW] DLL Sample
Eric Jensen
2014-05-04 09:01:35 UTC
Permalink
Hello,

is there a specfic reason why the wxWidgets initialization/cleanup
isn't done in "DllMain" by catching
DLL_PROCESS_ATTACH/DLL_PROCESS_DETACH ?

IOW: Would it be save to change the code accordingly?

Thanks,
Eric
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Eric Jensen
2014-05-04 12:14:25 UTC
Permalink
EJ> is there a specfic reason why the wxWidgets initialization/cleanup
EJ> isn't done in "DllMain" by catching
EJ> DLL_PROCESS_ATTACH/DLL_PROCESS_DETACH ?

EJ> IOW: Would it be save to change the code accordingly?

Commenting myself again:

After several test, i'd say it does not work, although i didn't really
understand, why.

But i'll just take it as it is for the moment.

Eric
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Continue reading on narkive:
Loading...