Embedding DWT

Frank Benoit keinfarbton at googlemail.com
Tue Oct 7 23:54:27 PDT 2008

sleek schrieb:
> I have created an IE toolbar by creating a COM server and then using DWT for 
> the interface. I'm able to get everything to display properly, but when I 
> open windows and then close them, it seems like DWT is crashing somewhere 
> because the parent windows disappear as well.
> I'm using Shell.win32_new to create my Shell because I need it to use the IE 
> hwnd as it's parent. I know that win32_new is makred as something that is 
> not part of the public API, but I'm not sure how else I can solve my 
> problem.
> Are there any other ways that I can create a shell that has an HWND parent?
> Lastly, are there any recommended ways of debugging a D dll? I'm having a 
> hell of a time right now and frankly it seems that adding logging to a file 
> is the only way that I can do it (ewwww).
> Any help is _GREATLY_ appreciated. Thanks 

Well, a IE toolbar will never be X-platform, so I think it is OK to rely
on win32 only features.
Another good resource to get answers is eclipse.org/platform/swt newsgroup.

Debugging: well you can load it and then "attach to the process".

I am curious, how did you do the COM server? Did you use the DWT ole
package or dwin or something else?

More information about the Digitalmars-d-dwt mailing list