Hi DW, I'm having an issue here, I have 3 forms namely start.h
,home
,Form1
in their order of execution, the problem starts when I include Form 1 to any of these forms then I get LNK2005 'unsigned short MyprojectName::m_hservice' (?m_hservice@MyprojectName@@$$Q3GA) Already defined in home.obj
NB these forms are completely different, the first one which is start.h
only let the user to click a button then show home which home
is a password form when a user keys the correct credentials then it should now show Form1
but when I #include 'Form1.h'
to home.h
I get this error but hoeme.h
doesn't have m_hservice
at all being defined by myself so I don't know where it's taking it from because I never did that and it's not there as well.
Anyone who knows how I can solve this problem?