2nd upgrading question

Hi again,

2nd issue I have is with another project
The issue is something to do with two classes trying to share data from a struct defined in a separate header file

This compiled okay under Beta-1

i have a header file called staticData.h which contains some structs

i have a main form Form1 and another form PivotData
- both these forms use data from the structs in staticData.h

in Beta-1, i had #include 'staticData.h' in both Form1.h and PivotData.h

>> now I get an error on compiling, that says

error LNK2005: struct xxxxx already defined in Form1 (file: PivotData)

if I remove the #include from PivotData, I get instead that PivotData cannot find all the variables it needs

Any ideas? How can I get the compiler to recognise the structs defined in staticData in both my other forms, without generating this error?

[872 byte] By [baxybaxy] at [2007-12-17]
# 1

Could you paste the exact error message you are getting. Specifically, if it is a multi-line message, could you paste them all?

Thanks!

BorisJabes at 2007-10-6 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 2
Hi,

As we have still not heard back from you, we will delete the post in 5 days unless you have had some new development.

Thanks,

BorisJabes at 2007-10-6 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...