I wanted to create a simple ObjAsm32 MDI application, with minimal functionality.

First I copied the MDI example (Demo06) from the objasm32 package to to a new folder.Then I copied the MdiApp.inc file from the \masm32\objasm32\code\objects folder tothe project folder, so I could add some debugging code to it if necessary.Therefore in Demo06.asm I changed the line "LoadObjects MdiApp" to "include MdiApp.inc".

After building, and executing the project, everything was fine, as expected.

Now I wanted to replace DemoApp06's by a much simpler object.So I decided to remove the Demo06.inc file from the project, and instead use a newfile: "MyMdiApp", which I added to the project

Hi mdevriesThe answer is so easy that you will not believe it?I give you a hint? enable debugging, put DbgApiError after CreateWindowEx in the MdiApp.inc file and run the app again. The answer will be displayed.