THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/02/2004 at 19:41, xxxxxxxx wrote:
Hi all
I am trying to connect to database too. So, from the plugin cpp file, I wanna call the header file. In that header file, i tried to connect with the ODBC. To establish connection with ODBC, I need to include <windows.h>,
My problem is, when i wanna include this, i found one confliction between the C4D API with the C++ API. The error message is like this:
error C2371: 'WORD' : redefinition; different basic types
..\..\resource\_api\ge_win_math.h(26) : see declaration of 'WORD'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winnt.h(686) : warning C4005: 'MINLONG' : macro redefinition
..\..\resource\_api\ge_win_math.h(45) : see previous definition of 'MINLONG'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winnt.h(689) : warning C4005: 'MAXWORD' : macro redefinition
..\..\resource\_api\ge_win_math.h(51) : see previous definition of 'MAXWORD'
Can anyone pls tell me how to solve this problem?
Thanks and regards