Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

undefined structure error

Status
Not open for further replies.

Wings

Programmer
Feb 14, 2002
247
US
Hi,
I have created a queue class, and added it to the project.
I then created a public instance of that queue class in my form. Everything is good so far. Now whenever i reference that form from anywhere else i have to include the header to the queue class as well other wise i get errors:

E2450 Undefined structure 'structure'
E2449 Size of 'identifier' is unknown or zero

these errors point to my declaration of my queue class.

If i include the reference to the queue class it works fine.
for some reason i cant include the queue header file in my forms header file either. Any ideas. I have used this queue class in a win32 app before with no such problems.

Thanks
 
You can't include your queue header file in your forms header file? What does it do when you include it? Does your new class use typedefs or enums that are defined in the queue header that are used with that class?

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top