14 messages in com.mysql.lists.plusplusRe: problem with sql_create_16
FromSent OnAttachments
Robert Gabriel LUPOIU11 Dec 2001 07:04 
The Lazy Fox11 Dec 2001 07:28 
Robert Gabriel LUPOIU11 Dec 2001 07:43 
Robert Gabriel LUPOIU11 Dec 2001 07:49 
The Lazy Fox11 Dec 2001 08:44 
Andrew Parker12 Dec 2001 09:51 
Andrius Armonas12 Dec 2001 10:57 
Sinisa Milivojevic13 Dec 2001 05:40 
Andrew Parker13 Dec 2001 07:38 
Sinisa Milivojevic13 Dec 2001 07:51 
Sinisa Milivojevic13 Dec 2001 07:51 
Andrew Parker13 Dec 2001 16:46 
Sinisa Milivojevic14 Dec 2001 05:39 
Andrew Parker14 Dec 2001 08:56 
Subject:Re: problem with sql_create_16
From:The Lazy Fox (lazy@foxden.dhs.org)
Date:12/11/2001 07:28:05 AM
List:com.mysql.lists.plusplus

Robert Gabriel LUPOIU wrote:

I use C++ API for Mysql ver 1.7.8

??? i never made a VC++ version of 1.7.8, only of 1.7.1 and 1.7.9

I am need un Specialized SQL Structures for un table with 16 fields. This is de
definition

sql_create_16(identifiant_films, 1, 15, int ,ID_ident, string, nom_ident, string, realisateur, string, acteurs_princ, string, acteurs_sec, int, ID_categorie, int, annee, string, duree, double, prix_vod, double, prix_nvod, double, prix_ppv, string, acces_vod, string, acces_nvod, string, acces_ppv, int, default_language, int, id_provider);

The compiler return this error(after they work 2-3 minute): d:\media-management\alexvodserv\adesdatabasemanager.cpp(59) : warning C4003: not
enough actual parameters for macro 'sql_compare_define_1' d:\media-management\alexvodserv\adesdatabasemanager.cpp(59) : warning C4003: not
enough actual parameters for macro 'sql_construct_define_16' d:\media-management\alexvodserv\adesdatabasemanager.cpp(59) : fatal error C1001:
INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Error executing cl.exe.

Any ideea?

yes, don't use sql_create_16. unfortunately, the vc++ compiler just can't handle that macro ;-( you'll just have to do with the Result class instead.

c ya,

lazyfox