Connecting to MySQL using C API

2004-11-14 Thread premal mishra
I'm using MySQL version 4.0.20a on win98. Compiler is Bloodshed Dev-C++ version 4. My program compiles and links but gives a page fault error on running. I'm linking the '\mysql\lib\opt\mysqlclient.lib' file. Linker gives the warning ignoring duplicate section '.text' CODE: #include

Linker Error

2004-10-31 Thread premal mishra
I'm using 4.0.20a on Windows 98. My program compiler successfully but gives a linker error: C:\SC\BIN\..\lib\mysqlclient.lib(default) Offset 955A0H Record Type 00C3 Error 16: Index Range --- errorlevel 1 --- errorlevel 1   Regards Premal.

Problems Compiling

2004-09-20 Thread premal mishra
I'm trying to use C API to MySQL. MySQL Version: 4.0.20a Distribution Windows Binary Machine: P IV on intel 845GL board, 256 MB Ram, Win98se Compiler: Digital Mars C/C++ Compiler Version 8.40 (ftp://ftp.digitalmars.com/Digital_Mars_C++/Patch/dm840c.zip) WHEN I COMPILE