2 messages in com.mysql.lists.plusplusRe: problem on mysql++-1.7.1.1 and VC...
FromSent OnAttachments
HL...@ap.org22 May 2003 12:06 
HL...@ap.org23 May 2003 06:47 
Subject:Re: problem on mysql++-1.7.1.1 and VC++ in Windows 2000
From:HL...@ap.org (HL@ap.org)
Date:05/23/2003 06:47:15 AM
List:com.mysql.lists.plusplus

Thanks Franz. Changing #inlcude <mysql.h> to #include <mysql++> would not fix the problem. The problem comes from the standard lib such as c:\program files\microsoft visual studio\vc98\include\defs.h(4). I will reinstall VC++, mysql and mysql++.

Cheers,

Willy

<siu00fk@reading. ac.uk> To: HL@ap.org cc: 05/23/2003 02:36 Subject: Re: problem on
mysql++-1.7.1.1 and VC++ in Windows 2000 AM

Try #include <mysql++>

Franz

-------------------

I downloaded mysql++-1.7.1-1-win32-vc++.zip for VC++. I could not make it work for me.

I have added c:\mysql++\include;c:\mysql++\mysql\include to project->setting->resources->additional resource include directories.

Here is an error:

--------------------Configuration: mysql_c - Win32 Debug-------------------- Compiling... mysql_c.cpp c:\program files\microsoft visual studio\vc98\include\defs.h(4) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory Error executing cl.exe.

mysql_c.exe - 1 error(s), 0 warning(s)

============================== defs.h(4):

#ifndef __mysql_defs_h_ #define __mysql_defs_h_ #include "define_short.h" #include <mysql.h>

#if defined(NO_LONG_LONGS) typedef unsigned long ulonglong; typedef long longlong; #else typedef unsigned __int64 ulonglong; typedef __int64 longlong; #endif

typedef MYSQL_FIELD MysqlField; typedef const char cchar; typedef longlong longgint;

#ifndef uint typedef unsigned int uint; #endif

class Connection; class ResUse; class Result; class FieldNames;

const bool use_exceptions = true;

#endif

=============

Is there any idea what's wrong?

Thanks,

Willy