Ticket #10203 (closed defect: fixed)
crash when mouse enters window of app run from dll (FIX INCLUDED)
| Reported by: | StepanHrbek | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | wxMSW | Version: | 2.8.9 |
| Keywords: | dll unload crash | Cc: | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
When mouse enters any window of wxWidgets app run from dll (not from exe, not from static library), comctl32.dll is loaded, unloaded and then called = crash.
FIX FOLLOWS:
Fix it by adding static in front of wxDynamicLibrary dllComCtl32(_T("comctl32.dll"), wxDL_VERBATIM); in src/msw/window.cpp line 5179. This prevents unload.
I described it (with sample code) in last paragraph of http://wiki.wxwidgets.org/Creating_A_DLL_Of_An_Application
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

