Page 1 of 1

IDE CRASH when applying FindWindow_() to the PB IDE

Posted: Wed Dec 26, 2007 6:15 pm
by AND51
Hello!

I want to open a new window that should have the PB IDE as parent window:

Code: Select all

Debug OpenWindow(0, 0, 0, 0, 0, "my title", 0, FindWindow_(0, "PureBasic"))
Make sure that the IDE's title matches the FindWindow-Parameter. When executing this code on WinXP SP2/PB v4.10 the IDE crashes with its favorite error "An Error has been detected in the IDE! (IMA)"

My intention is to create an external tool that should use GetEnvironmentVariable("PB_TOOL_MainWindow") as parent window, but obvously this idea cannot be completed due to this error.

Any ideas?