HELP:
i'm tryng to compile a C program (with embededd sql command) using the Visual studio 5 with the precompiler
nsqlprep.exe for sql server 2000.
The compilation is OK, but when I try to Build the exe the VC prints a long list of errors :


embedtst.c
D:\embedtst.c(14) : error C2282: 'ESQLAPI' is followed by 'sqlaaloc' (missing ','?)
D:\embedtst.c(18) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
D:\embedtst.c(20) : error C2282: 'ESQLAPI' is followed by 'sqlxcall' (missing ','?)
D:\embedtst.c(26) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
D:\embedtst.c(28) : error C2282: 'ESQLAPI' is followed by 'sqlacall' (missing ','?)
D:\embedtst.c(33) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
D:\embedtst.c(35) : error C2282: 'ESQLAPI' is followed by 'sqladloc' (missing ','?)
D:\embedtst.c(37) : error C4226: nonstandard extension used : 'far' is an obsolete keyword..
....
...

These errors are present in the following lines of compiled file:

/* ===== NT doesn't need the following... */
#ifndef WIN32
#define WIN32
#endif
#define _loadds
#define _SQLPREP_
#include <sqlca.h>
#include <sqlda.h>
#include <string.h>
#define SQLLENMAX(x) ( ((x) > 32767) ? 32767 : (x) )
short ESQLAPI _loadds sqlaaloc(
unsigned short usSqlDaId,
unsigned short sqld,
unsigned short stmt_id,
void far *spare);

short ESQLAPI _loadds sqlxcall(
unsigned short usCallType,
unsigned short usSection,
unsigned short usSqldaInId,
unsigned short usSqlDaOutId,


May somebody tell me what to do ???
Thanks