The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => Easy Code => Topic started by: pyr0 on April 18, 2010, 06:03:43 PM

Title: Multiple Windows
Post by: pyr0 on April 18, 2010, 06:03:43 PM
How can i show a second Window on clicking a button?
Ive already tried the source from the tutorials section and the IDE tells me that:
QuotewndMain.asm(23) : error A2006: undefined symbol : SADD
wndMain.asm(23) : error A2114: INVOKE argument type mismatch : argument : 1
Does anybody have an idea how to solve this problem?
Title: Re: Multiple Windows
Post by: pyr0 on April 18, 2010, 06:45:29 PM
Ive solved the problem by myself, forgot to include the macros.asm file in the project properties. works now.
Topic can be close.
Title: Re: Multiple Windows
Post by: Ramon Sala on April 18, 2010, 06:47:57 PM
Hi pyr0,

You probably have the 'Macros.asm file' option unchecked (in the Project properties). If so, check it and try to build the project again.

However, I attach a simple example showing how to do this.

Regards,

Ramon