473,395 Members | 2,151 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,395 software developers and data experts.

MFC and sqlext.h (eng)

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 sqlext.h and sql.h not MFC
mechanism.
but if I include after linking got errors "unresolved names" -
functions from headers, fro example: SQLAllocEnv or SQLAllocConnect.
I foundout something in the Internet about it, and know that the
headers doesn't work properly with MFC. is there any way to do it (in
MFC application use API functions to connecting to database)?
thanks for all letters.
best regards
woyt

Jul 23 '05 #1
2 2126
yopwojtek wrote:
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 sqlext.h and sql.h not MFC
mechanism.
but if I include after linking got errors "unresolved names" -
functions from headers, fro example: SQLAllocEnv or SQLAllocConnect.
I foundout something in the Internet about it, and know that the
headers doesn't work properly with MFC. is there any way to do it (in
MFC application use API functions to connecting to database)?


Wrong newsgroup again. Try 'microsoft.public.vc.mfc'.

V
Jul 23 '05 #2
ok i will try
woyt

Jul 23 '05 #3

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

Similar topics

0
by: JS | last post by:
Here is something weird that is happening to me and I just cannot seem to fix this problem: I have built an application that does a data dump into Excel and then creates named ranges so that the...
2
by: yopwojtek | last post by:
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....
1
by: puzzlecracker | last post by:
Item 30 page 115: template <size_t S> class FixedAllocator { public: void* Allocate (/*requested size is always S*/); void Deallocate (void *); private: /*implemented using statics*/
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'...
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...
0
by: Claudio | last post by:
I have a demo app where cookies does not work. The first page create a cookies. The second read the contet. If I browse the pages via IE6.0 the pages does not work. If I browse the pages via...
0
by: jessie | last post by:
Hi Group! Jessie here, Head of People for Limbo Mobile (www.41414.com); mobile gaming company based in Burlingame, Ca. We are looking for a python developer full-time to add to our team. Our...
0
by: Steven W. Orr | last post by:
The short story is that someone left, but before he left he checked in a ..pyc and then both the directory was destroyed and the backups all got shredded (don't ask*). Is there anything that can be...
1
by: enasmoro | last post by:
i am not able to open any of my drives.i get the error "windows cannot find copy.exe".is there any method to correct this problem without formatting the drives.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
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,...

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.