Hello PB-Community!
CASE %DLL_PROCESS_ATTACH
gl_hInstance = hInstance
g_hMsgWnd = CreateDialog (gl_hInstance, BYVAL 100&, 0, _
CODEPTR(MyProc))
-----------------------------------------
CASE %DLL_PROCESS_DETACH
IF IsWIndow (g_hMsgWnd) THEN
DestroyWindow g_hMsgWnd
END IF
I use this modeless (hidden) (ressource-file) dialog as an asychronic message window (But this is not the topic of my question).
The Question: Am I allowed to create such a window in a DLL?
Are there maybe hidden problems (I know they always are?).
Testing seems to be ok? But....
Thanks for any comments.
Greetings,
Heinz Grandjean
CASE %DLL_PROCESS_ATTACH
gl_hInstance = hInstance
g_hMsgWnd = CreateDialog (gl_hInstance, BYVAL 100&, 0, _
CODEPTR(MyProc))
-----------------------------------------
CASE %DLL_PROCESS_DETACH
IF IsWIndow (g_hMsgWnd) THEN
DestroyWindow g_hMsgWnd
END IF
I use this modeless (hidden) (ressource-file) dialog as an asychronic message window (But this is not the topic of my question).
The Question: Am I allowed to create such a window in a DLL?
Are there maybe hidden problems (I know they always are?).
Testing seems to be ok? But....
Thanks for any comments.
Greetings,
Heinz Grandjean
Comment