473,394 Members | 1,878 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

MFC and sqlext.h

Witam,
piszę program dialogowy w VC7 z uzyciem MFC. mam osobna klase ktora
odpowiada
za polaczenie ODBC, i chcialem korzystac nie z MFC w tym wypadku a z
API i
includowac plik sqlext.h i sql.h. ale podczas kompilacji wyskakują
błędy, że
kompilator nie potrafi rozwiązać nazw z funkcji z powyższych
plików, np:
SQLAllocEnv czy SQLAllocConnect. troszke wyczytalem w internecie, ze
MFC
gryzie sie z sqlext.h ale nie znalazłem nic konkretnego. czy moze mi
ktos
pomóc, czy jest jakas poprawna kolejność includowania plików w tym
wypadku??
bardzo proszę o pomoc.
pozdrawiam
w.

Jul 23 '05 #1
2 1770
yopwojtek wrote:
Witam,
piszę program dialogowy w VC7 z uzyciem MFC. [...]


You're in a wrong newsgroup. First of all, this is an English-speaking
forum, second, MFC is off-topic here. Try 'microsoft.public.vc.mfc'.
And if you need to speak Polish, try 'pl.comp.*' hierarchy.

V
Jul 23 '05 #2
ok ok - i got new ask in english nd i ask how not to use MFC to
connecting with database throught ODBC in MFC application
best regards
woyt

Jul 23 '05 #3

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

Similar topics

0
by: Cary | last post by:
Trying to install on SuSE 8.2 from source. ../configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-unixODBC=/usr/lib getting this error: /root/php-4.3.2/ext/odbc/php_odbc.c -o...
0
by: mrambil | last post by:
Hi, I've got some problems using ODBC with C++. First, I use Dev-cpp with gcc/g++ v3.4.2 on Win XP. I got to connect to a system DSN installed on my computer so I use the standard SQL API...
2
by: yopwojtek | last post by:
HI All, i'm writting dialogue programm using VC& and MFC. there is class to connecting with datavase trought ODBC. in case of that class i would like to use only API functions from headers...
6
by: Anil Kumar Saharan | last post by:
Hi, I have a loopback connection using ODBC in the DLL initialization code of the SQL Server ESP Module (SQL Server 2000). The loopback connection works fine when the DSN is specifed with the...
3
by: mike | last post by:
trying the following code to test SQL connection to MS SQL server using machine DNS name. receiving errors: undefined reference to 'SQLAllocEnv@4' undefined reference to 'SQLAllocConnect@8'...
3
by: Lynn.Tilby | last post by:
The following program produces the output below... It is built with: vrfy_prob: vrfy_prob.cpg /usr/local/pgsql/bin/ecpg -I/usr/local/pgsql/include -o vrfy_prob.c vrfy_prob.cpg gcc -g${DEBUG}...
1
by: Lynn.Tilby | last post by:
Hi, Please see the history below... Does AUTOCOMMIT as used here functionally replace VACUUM ANALYZE? If I turn on AUTOCOMMIT is every transaction commited as it is executed? If this is...
4
by: Wallace | last post by:
Hai All, Can anyone suggest or provide me sample code for making ODBC connection and executing simple queries from c++. I am using sql server 2000. Also please tell what are the header files to...
0
by: padhuwork | last post by:
Hi, I want to create a Windows DLL using VC++ 6.0 which connects to SQL Server. After establishing the connection, I want to retrieve records from table (query) and out put the recordset to a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.