ProjectRoom
Well Known Member
I remember a post about header/include files that were causing problems and I can't find it or remember what to do:
if jde.h is included last
*** ERRORS ***
d:\b7\system\include\jdeuprto.h(112) : error C2146: syntax error : missing ';' before identifier 'MMGetAppIUnknown'
d:\b7\system\include\jdeuprto.h(112) : error C2501: 'LPUNKNOWN' : missing storage-class or type specifiers
d:\b7\system\include\jdeuprto.h(112) : fatal error C1004: unexpected end of file found
if jde.h is included first
*** ERRORS ***
C:\Program Files\Microsoft Visual Studio\MyProjects\jdeDebugReader\jdeDebugReader.cpp(52) : error C2146: syntax error : missing ';' before identifier 'hEnv'
C:\Program Files\Microsoft Visual Studio\MyProjects\jdeDebugReader\jdeDebugReader.cpp(52) : error C2501: 'HENV' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\MyProjects\jdeDebugReader\jdeDebugReader.cpp(52) : fatal error C1004: unexpected end of file found
I have included the jde.h, the librarys and paths in my project settings as normal. I have previous programs including an address book editor using jde api. Although I can't find out the problem in this case. Anyone with any ideas?
Cheers
PR
[ B7.3.3.2 ][ SP 11.3 ][ NT 4.0 ][ AS/400 co-existance ]
if jde.h is included last
*** ERRORS ***
d:\b7\system\include\jdeuprto.h(112) : error C2146: syntax error : missing ';' before identifier 'MMGetAppIUnknown'
d:\b7\system\include\jdeuprto.h(112) : error C2501: 'LPUNKNOWN' : missing storage-class or type specifiers
d:\b7\system\include\jdeuprto.h(112) : fatal error C1004: unexpected end of file found
if jde.h is included first
*** ERRORS ***
C:\Program Files\Microsoft Visual Studio\MyProjects\jdeDebugReader\jdeDebugReader.cpp(52) : error C2146: syntax error : missing ';' before identifier 'hEnv'
C:\Program Files\Microsoft Visual Studio\MyProjects\jdeDebugReader\jdeDebugReader.cpp(52) : error C2501: 'HENV' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\MyProjects\jdeDebugReader\jdeDebugReader.cpp(52) : fatal error C1004: unexpected end of file found
I have included the jde.h, the librarys and paths in my project settings as normal. I have previous programs including an address book editor using jde api. Although I can't find out the problem in this case. Anyone with any ideas?
Cheers
PR
[ B7.3.3.2 ][ SP 11.3 ][ NT 4.0 ][ AS/400 co-existance ]