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
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