View Single Post
  #6   Spotlight this post!  
Unread 19-09-2006, 16:20
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Visual C++ 2005 Forms

Quote:
Originally Posted by Imajie
Are you tring to use variables between forms?
I don't think that it is possible in C# to go between to forms with the same variables. C# doesn't have headers like C and C++ it has just source code and reference files that you add like a database or pictures, sound, ect.
I am using C++ and yes, I am trying to share variable as well as objects, such as serialPort1, between different forms. The object is only initialized in one form but I need to use it others. Any ideas?

Thanks