Greetings,
I tried to compile a project that was crated using BCB 4 OR 5 in BCB6. This project also uses MapObject 2.1.
The first compiling errors:
[C++ Error] shobjidl.h(2193): E2238 Multiple declaration for 'FOLDERSETTINGS'
[C++ Error] shobjidl.h(8095): E2238 Multiple declaration for 'DESKBANDINFO'
[C++ Error] shlobj.h(1422): E2238 Multiple declaration for 'FVSHOWINFO'
[C++ Error] shlobj.h(3457): E2238 Multiple declaration for 'SHELLFLAGSTATE'
I tried to solve these by rename FOLDERSETTINGS, DESKBANDINFO, FVSHOWINFO, SHELLFLAGSTATE in the two files:
c:\program files\borland\cbuilder6\include\shlobj.h
c:\program files\borland\cbuilder6\include\shobjidl.h
But I think this method may be crude, since usually people will not change library files.
Can anybody give me some smart ways? Thanks.
John
I tried to compile a project that was crated using BCB 4 OR 5 in BCB6. This project also uses MapObject 2.1.
The first compiling errors:
[C++ Error] shobjidl.h(2193): E2238 Multiple declaration for 'FOLDERSETTINGS'
[C++ Error] shobjidl.h(8095): E2238 Multiple declaration for 'DESKBANDINFO'
[C++ Error] shlobj.h(1422): E2238 Multiple declaration for 'FVSHOWINFO'
[C++ Error] shlobj.h(3457): E2238 Multiple declaration for 'SHELLFLAGSTATE'
I tried to solve these by rename FOLDERSETTINGS, DESKBANDINFO, FVSHOWINFO, SHELLFLAGSTATE in the two files:
c:\program files\borland\cbuilder6\include\shlobj.h
c:\program files\borland\cbuilder6\include\shobjidl.h
But I think this method may be crude, since usually people will not change library files.
Can anybody give me some smart ways? Thanks.
John