Database
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/02/2004 at 09:08, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;---------
if i am using c++ to create a plugin, is it possible to store some data to the database(e.g. ms access) ?
Thank you for any reply -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/02/2004 at 17:56, xxxxxxxx wrote:
There are no database drivers in the API, but if you're using C++ you could always use another library to access the database. Please keep in mind that this probably means you're entering the land of platform specific code, so porting your plugin to another platform won't be as easy.
-
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 -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/02/2004 at 16:31, xxxxxxxx wrote:
Please search the forum for "windows.h". (You'll find the thread "Compile errors including api files".)