Hi guys,

I would like you to help me. I am using managed C++/CLI. I have figure out that I will get the errors of 'Form2' : undeclared identifier as if I included the "#include Form1.h" on the top of the Form2 class while I have the "#include Form2.h" on the top of the Form1 header.

This is how I found the problem to get it solve, if I remove the "#include Form2.h" on the top of the Form1 header, the problem would solve but I cannot open the form2 dialog.

What I am trying to do is to open the form2 dialog and check on the Form1 menu items that if any of the menu items checked is set to true or false then do something.

I have included the attachment, so you can take a look and see what I mean if you don't get this.

Please can you help me to fix this as I find it very difficult to deals with?

Once you open the attachment and if you find a way to solve this, please could you save them, reattach and post them back.

http://www.yourfilelink.com/get.php?fid=652705

Thanks,
Mark