Hi ,
Infact I tried it out that way.There is a problem with
my_sql_real_escape_string() .I.e at the time of
linking it is giving an Unresolved External Symbol for
this function.For rest of the API functions it's OK.
I checked up with the .def file in the includes
directory and found that this functionis not listed in
that.Tried it out with another download of MYSQL but
same is the case.
Regards,
Ravi
--- Shambhu Kumar singh
<[EMAIL PROTECTED]> wrote: > Hi,
>
> Instead of working with the strmov function use
> pointers to work on it, like I had to
> Ex:
>
> char myQuery[1024]="";
>
> CurrentAddress = myQuery;
> CurrentAddress+= mysql_real_escape_string(
> &MysqlStruct,CurrentAddress, string, strlen(string)
> );
>
> Best of Luck,
> S.K. Singh.
>
> ------------- Original Message --------------
>
=?iso-8859-1?q?VVM=20Ravikumar=20Sarma=20Chengalvala?=
> <[EMAIL PROTECTED]> wrote:
> To:[EMAIL PROTECTED]
>
From:=?iso-8859-1?q?VVM=20Ravikumar=20Sarma=20Chengalvala?=
> <[EMAIL PROTECTED]>
> Date:Fri, 11 May 2001 16:35:21 +0100 (BST)
> Subject: My Sql C_API(Urgent)
>
> Hi,
> I am using my_sql_real_escape_string and in that the
> strmov function of mysqlclient library.
> I am getting the following errors while compiling:
>
> d:\program files\mysql\include\m_string.h(143) :
> error
> C2061: syntax error : identifier 'uint'
> d:\program files\mysql\include\m_string.h(146) :
> error
> C2061: syntax error : identifier 'uint'
> d:\program files\mysql\include\m_string.h(147) :
> error
> C2061: syntax error : identifier 'uint'
> d:\program files\mysql\include\m_string.h(149) :
> error
> C2061: syntax error : identifier 'uint'
> d:\program files\mysql\include\m_string.h(151) :
> error
> C2061: syntax error : identifier 'pchar'
> d:\program files\mysql\include\m_string.h(154) :
> error
> C2061: syntax error : identifier 'my_string'
> d:\program files\mysql\include\m_string.h(155) :
> error
> C2146: syntax error : missing ';' before identifier
> 'strinstr'
> d:\program files\mysql\include\m_string.h(155) :
> fatal
> error C1004: unexpected end of file found
> Error executing cl.exe.
> I could not locate the identifiesrs strinstr etc in
> any of the include files.
>
> Can some one guide me for a way out.
>
> Regards,
> Ravi
>
>
>
____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at
> http://mail.yahoo.co.uk
> or your free @yahoo.ie address at
> http://mail.yahoo.ie
>
>
---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list
> archive)
>
> To request this thread, e-mail
> <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
>
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try:
> http://lists.mysql.com/php/unsubscribe.php
>
>
>
_____________________________________________________
> Chat with your friends as soon as they come online.
> Get Rediff Bol at
> http://bol.rediff.com
>
>
>
>
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php