I know now that i need global window classes when i use a PB dll in VB.
The created window hinstance MUST point to the DLL NOT the instance of the app.
When i make use of a DDT dialog i think the DDT dialog is created using the app's instance.
I'm not sure if this is my crash or something else.
Can PB shed some light on this?
The app will only crash in design modus, the DLL is not allways released because VB is the instance i guess.
When i use the technique described above, no problems any longer.
Btw, GetModulehandle() in the DLL returns the calling app's instance.
This is the incorrect handle.
Thanks,
------------------
[email protected]
The created window hinstance MUST point to the DLL NOT the instance of the app.
When i make use of a DDT dialog i think the DDT dialog is created using the app's instance.
I'm not sure if this is my crash or something else.
Can PB shed some light on this?
The app will only crash in design modus, the DLL is not allways released because VB is the instance i guess.
When i use the technique described above, no problems any longer.
Btw, GetModulehandle() in the DLL returns the calling app's instance.
This is the incorrect handle.
Thanks,
------------------
[email protected]
Comment