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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Defined type / DLLs

Status
Not open for further replies.

cmsamcfe

Programmer
Dec 18, 2002
31
0
0
GB
I have a header file that is used by a DLL and also by a GUI program

The header contains a typedef that I need to change from INT32 to something else (as our new code already has INT32 defined as something else)

When I change the defenition to myINT32 in the header file, and change all references to it in my DLL .cpp file, I get many compilation errors - mostly C2501 missing decl_spec

I don't understand why as the typedef isn't done anywhere else so changing it in the header should work,


Can anyone throw any light on this

TIA

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top