Re: Forms SingleTon VC++2010?
Perhaps you forgot to #include "Form1.h", so Form1 isn't defined at that point?
EDIT: I noticed that actually you're not using any members specific to Form1 at all anyway in that code, so you may as well change the type of that parameter to Form ^, so the include wouldn't be needed. You could still pass an instance of any class derived from Form to that parameter.
Please use code tags when posting code.
Last edited by Eri523; April 22nd, 2012 at 06:11 PM.
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
Bookmarks