Re: reg C API from MySQL

2003-12-16 Thread P Arunachalam
Hello Patrick!

I am trying to connect COBOL to the MySQL Database. I
have used the C API to establish the conection to
MySQL. You have quoted that library file
mysqlclient.lib is enough.

But when I try to test the Connecton using VC++ editor
by writing a simpe C Program, the linking of
libmysql.lib only produce successdul connection.
i.e., mysqlclient.lib not required here.

But When I try to Link those two files into the Linker
for my COBOL application it wouldn't recognize the
methods inside the Libraray file (i.e, mysql_init,
mysql_real_connect, mysql_error...) and shows linker
errors. Is there any other Library files required

the platform I have used is
Windows 2k
CA REALIA II Workbench 3.0.55
CA REALIA COBOL Compiler 6.0.45
Microsoft 32 Bit incremental compiler 6.00.8168

can you please suggest me... Is there any other
library files need to be inluded...

regards,
Arun.

 --- Patrick Sherrill [EMAIL PROTECTED] wrote: 
Statically linking using C API only you will need 
 mysqlclient.lib
 
 For odbc interface you'll need to make odbc calls in
 your code and use
 myodbc.dll (Install myodbc on the client).
 
 You can mix calls, but why would you.  I have found
 the C API to be the best
 solution for us.  We statically link for dll
 avoidance. You can get the
 source or pre-built client libraries from the MySQL
 web site.
 
 I hope this helps.
 
 Pat...
 
 [EMAIL PROTECTED]
 CocoNet Corporation
 SW Florida's First ISP
 825 SE 47th Terrace
 Cape Coral, FL 33904
 
 
 
 
 
 - Original Message - 
 From: P Arunachalam [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, December 11, 2003 4:31 AM
 Subject: reg C API from MySQL
 
  


Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: reg C API from MySQL

2003-12-16 Thread P Arunachalam
Hello Patrick!

I am trying to connect COBOL to the MySQL Database. I
have used the C API to establish the conection to
MySQL. You have quoted that library file
mysqlclient.lib is enough.

But when I try to test the Connecton using VC++ editor
by writing a simpe C Program, the linking of
libmysql.lib only produce successdul connection.
i.e., mysqlclient.lib not required here.

But When I try to Link those two files into the Linker
for my COBOL application it wouldn't recognize the
methods inside the Libraray file (i.e, mysql_init,
mysql_real_connect, mysql_error...) and shows linker
errors. Is there any other Library files required

the platform I have used is
Windows 2k
CA REALIA II Workbench 3.0.55
CA REALIA COBOL Compiler 6.0.45
Microsoft 32 Bit incremental compiler 6.00.8168

can you please suggest me... Is there any other
library files need to be inluded...

regards,
Arun.

 --- Patrick Sherrill [EMAIL PROTECTED] wrote: 
Statically linking using C API only you will need 
 mysqlclient.lib
 
 For odbc interface you'll need to make odbc calls in
 your code and use
 myodbc.dll (Install myodbc on the client).
 
 You can mix calls, but why would you.  I have found
 the C API to be the best
 solution for us.  We statically link for dll
 avoidance. You can get the
 source or pre-built client libraries from the MySQL
 web site.
 
 I hope this helps.
 
 Pat...
 
 [EMAIL PROTECTED]
 CocoNet Corporation
 SW Florida's First ISP
 825 SE 47th Terrace
 Cape Coral, FL 33904
 
 
 
 
 
 - Original Message - 
 From: P Arunachalam [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, December 11, 2003 4:31 AM
 Subject: reg C API from MySQL
 
  


Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: reg C API from MySQL

2003-12-11 Thread Patrick Sherrill
Statically linking using C API only you will need  mysqlclient.lib

For odbc interface you'll need to make odbc calls in your code and use
myodbc.dll (Install myodbc on the client).

You can mix calls, but why would you.  I have found the C API to be the best
solution for us.  We statically link for dll avoidance. You can get the
source or pre-built client libraries from the MySQL web site.

I hope this helps.

Pat...

[EMAIL PROTECTED]
CocoNet Corporation
SW Florida's First ISP
825 SE 47th Terrace
Cape Coral, FL 33904





- Original Message - 
From: P Arunachalam [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 4:31 AM
Subject: reg C API from MySQL



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]