6 messages in com.mysql.lists.win32Re: linking problem on Win95
FromSent OnAttachments
Mihai Preda16 Oct 1999 04:23 
sin...@cytanet.com.cy16 Oct 1999 04:24 
Mihai Preda16 Oct 1999 05:34 
sin...@cytanet.com.cy16 Oct 1999 06:14 
Bob Kline16 Oct 1999 08:54 
Mihai Preda16 Oct 1999 10:22 
Subject:Re: linking problem on Win95
From:Mihai Preda (pre@EconomicGames.com)
Date:10/16/1999 05:34:41 AM
List:com.mysql.lists.win32

Mihai Preda writes:

Hello,

I'm trying to write a C++ program using MySql on Win95. I'm compiling using Visual C++ 5.0. I'm using the server 3.21.xx and the client library 3.22.26.

When it comes to linking my program with "libmySQL.lib", I always get this message: "c:\mysql\lib\debug\libmySQL.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x37dc7aa2"

Could you tell me of a possible cause, and/or an workaround?

The second question is: What is the use for mysqlclient.lib? ie, I understood that i only need libmySQL.dll, so what is mysqlclient.lib containing?

Regarding the first error, it is probable that your drive containing NT installation is full !! On the other hand M$ linker is known to make mistakes.

mysqlclient.lib contains Info for the linker in the normal Win32 manner. Sinisa

No, I have plenty of free space (>300Mo) on the Win95 drive. What's more, if I link using the 2.21.29 client library, everything is ok.

So, are you saying that libmysql.dll and mysqlclient.lib essentially contain the same routines, only with different representation? That is, if I want a static link, I can use mysqlclient? No, maybe it's not this.

Thanks, Mihai