Been working on this little thing for a few months now, having some issues with some structs. This compiled correctly in vs 2003 but doesnt work properly in c++ 2005. (Most of this is others work and open sourced stuff) Any help is appreciated with why I ths doesnt work.
Question
joejoe55
Been working on this little thing for a few months now, having some issues with some structs. This compiled correctly in vs 2003 but doesnt work properly in c++ 2005. (Most of this is others work and open sourced stuff) Any help is appreciated with why I ths doesnt work.
#ifndef _COMMONSTRUCTS_H #define _COMMONSTRUCTS_H typedef struct DllInfo_t { DWORD dwBaseAddress; DWORD dwImageSize; CHAR szModulePath[MAX_PATH]; DWORD dwMagicNumber; } DLLINFO, *PDLLINFO;Errors
vars.h(20) : error C2146: syntax error : missing ';' before identifier 'v_DllInfo'
vars.h(20) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
commonstructs.h(16) : error C2378: 'DLLINFO' : redefinition; symbol cannot be overloaded with a typedef
vars.h(20) : see declaration of 'DLLINFO'
Link to comment
Share on other sites
0 answers to this question
Recommended Posts