473,508 Members | 2,434 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ODBC access driver

I am working with the Microsoft 6 Visual Studio C++ standartd edition

I have an ODBC access driver, and I got it to work in a tester program, but
I get C++ mangled names when I try to use an MFC application.

Can I get microsoft support for this.
I put these statements in a header but it still didn't work..

I would like to ask for a support but I forgot how.

extern "C" {
SQLRETURN SQL_API SQLFreeEnv(HENV);
SQLRETURN SQL_API SQLFreeConnect(HDBC);
SQLRETURN SQL_API SQLDisconnect(HDBC);
SQLRETURN SQL_API SQLFreeStmt(SQLHSTMT,SQLUSMALLINT);
SQLRETURN SQL_API SQLBindCol(SQLHSTMT,SQLUSMALLINT,SQLSMALLINT,SQLPO INTER,
SQLINTEGER,SQLINTEGER*);
SQLRETURN SQL_API SQLFetch(SQLHSTMT);
SQLRETURN SQL_API SQLAllocStmt(SQLHDBC,SQLHSTMT*);
SQLRETURN SQL_API SQLDriverConnect(SQLHDBC,SQLHWND,SQLTCHAR*,SQLSMAL LINT,
SQLTCHAR*,SQLSMALLINT,SQLSMALLINT*,SQLUSMALLINT);
SQLRETURN SQL_API SQLAllocConnect(SQLHENV, SQLHDBC*);
SQLRETURN SQL_API SQLAllocEnv(SQLHENV*);
SQLRETURN SQL_API SQLExecDirect(SQLHSTMT,SQLTCHAR*,SQLINTEGER);
e.g.
error LNK2001: unresolved external symbol _SQLFreeEnv@4
error LNK2001: unresolved external symbol _SQLFreeConnect@4
error LNK2001: unresolved external symbol _SQLDisconnect@4
error LNK2001: unresolved external symbol _SQLFreeStmt@8
error LNK2001: unresolved external symbol _SQLBindCol@24
error LNK2001: unresolved external symbol _SQLFetch@4
error LNK2001: unresolved external symbol _SQLAllocStmt@8
error LNK2001: unresolved external symbol _SQLDriverConnect@32
error LNK2001: unresolved external symbol _SQLAllocConnect@8
error LNK2001: unresolved external symbol _SQLAllocEnv@4
error LNK2001: unresolved external symbol _SQLExecDirect@12

(I know some of these functions are depreciated but they worked in one but
program)

_________________________________________ Mitchell McNurlin ICQ#:235649936
Current ICQ status: SMS: (Send an SMS message to my ICQ): +2783142235649936
More ways to contact me: http://wwp.icq.com/235649936
_________________________________________
Jan 19 '06 #1
0 2112

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1824
by: Joe | last post by:
Python 2.4 Windows XP SP2 MS Access 2000 mx.ODBC 2.0.7 Problem data truncation occuring (here's the actual error message): mxODBC.Warning: ('01004', 5, ' String data, right truncated on...
1
2127
by: rguti | last post by:
Anybody know when the new version of the ODBC Driver is gonna be out? I'm using 3.51.11-1, but I'm having problems transferring information from SQL Server. Thanks.
11
17525
by: DJJ | last post by:
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL tables to a Microsoft Access 2003 database. I am finding that the data from the MySQL tables takes a hell of a long time...
4
5636
by: Andreas Lauffer | last post by:
Can anyone tell me advantages / disadvantages of DataDirect Server Wire ODBC-driver? Any experiences? What about redistribution? Andreas Lauffer, easySoft. GmbH, Germany
1
8704
by: MLH | last post by:
I'm running XP. Is it required that a given ODBC driver be selected or set somehow as a default driver? Look at this... Here's the error: Error: ODBC call failed... Datasource not found and no...
1
3371
by: Salad | last post by:
Hi: I am developing an application using FoxPro 2.x tables. My client has AccessXP. AccessXP uses Visual Foxpro ODBC to connect to tables. It does not accept the ISAM Foxpro driver used in A97....
0
755
by: bazzer | last post by:
hey, i am using visual basic.net 2003 and have an ASP.NET webform application thats accessing a microsoft access 2003 database. i kept getting the following error when i tried to run it: ERROR ...
0
12002
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
8
9609
by: Greg Strong | last post by:
Hello All, The short questions are 1 Do you know how to make DSN connection close in Access to Oracle 10g Express Edition? &/or 2 Do you know how to make a DSN-less pass-through query...
4
1785
by: Jeff | last post by:
I need to export MySQL data to Access. As always, there seems to be more than one way to do this. I notice that PHP has: DB.php If I was doing this in perl, there would be an ODBC driver...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7118
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5625
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.