"Allen" <(E-Mail Removed)> wrote in
news:13283485-258F-4DB6-A488-(E-Mail Removed):
> Below are 4 forms. Namely: Form1, EmployeeID, AboutBox and
> EnterEmployeeName. I made a class to help in open, write and read
> from files called Time. I managed to declare class Time in EmployeeID
> space, but could not declare it in EnterEmployeeName. In other words,
> I can declare class Time in one space only. I really want to use
> class Time in both forms EmployeeID and EnterEmployeeName. Can
> anybody tell me why I always get error below, every time I run the
> program? And how can I use the Time class in both the above forms?
I am not a C++ expert, so I would suggest reposting in a C++ group. I can,
however, tell you WHAT is happening. With the way you are linking Time, you
are ending up with two links, which is causing the compiler to bomb. As I
have only hacked C++ in my career, I am not sure what to tell you to get
past this error, however.
Peace and Grace,
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Twitter: @gbworld
Blog:
http://gregorybeamer.spaces.live.com
My vacation and childhood cancer awareness site:
http://www.crazycancertour.com
*******************************************
| Think outside the box! |
*******************************************