THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/04/2004 at 09:20, xxxxxxxx wrote:
Cinema 4D Version: 8.5
Platform: Windows ;
Language(s) : C++ ;
Because of the reason that I'm a newbe in the area of c4d_plugin programming, I would be glad if there's anyone out there that could help me to establish a database connection.
Well, first of all, I already programmed a class (C++) that creates an ODBC Connection to a defined database. I tested this class several times and it works correctly for my purposes.
But, when this class is included into my c4d_plugin I get several error messages during the compiling process. (e.g. error C2371: 'WORD' : redefinition; different basic types, etc.).
Is there any way to establish a database connection without these redefinitions??? Please help me!!!!
On 01/05/2004 at 17:48, xxxxxxxx wrote:
Basically you'll have to #undef things until the header can be included. There's a few posts on getting windows.h in if you search the forum.