[MSW 2.8.6] DLL & event handling
Exadrina
noM at il.it
Wed Feb 27 07:03:55 PST 2008
I'm trying to build an application with logging capabilities.
The applicatione is composed of a main window, displaying record
retrieved from a DB, and a log window, popping when an error is
sent to it. Both windows are built using wxWidgets 2.8.6 for MS
Windows.
The logger is a "Singleton" contained inside a DLL exposing
a "C" interface. The logger is realized with a window (derived
from wxFrame) having a StcEditCtrl control to display rows of
text. This window has a menu bar with few items (file, options
and help): any item has its event handler.
Main Window has a wxListCtrl control, a menu bar and few other
controls (a toolbar and a status bar).
Without attaching the logger dll, main windows works perfectly
and any event is managed in the right way. When I link the dll,
main window's event handling stop working properly.
I wasn't able to understand the reason of this behaviour, can
anyone help me?
I can supply the complete logger code and a test Main Window
to track this problem.
Tnx
--
questo articolo e` stato inviato via web dal servizio gratuito
http://www.newsland.it/news segnala gli abusi ad abuse at newsland.it
More information about the wx-users
mailing list