473,659 Members | 2,666 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need odbc32.lib odbccp32.lib

Hi,
Can someone please tell me where I can find those two libraries for
Visual C++ 2005 Express Edition compiler?

Thanks in advance,
Ashish.

Apr 20 '06 #1
5 11457
Sky
<as************ ***@gmail.com> wrote in message
news:11******** **************@ t31g2000cwb.goo glegroups.com.. .
Hi,
Can someone please tell me where I can find those two libraries for
Visual C++ 2005 Express Edition compiler?

Thanks in advance,
Ashish.


Not the right news group, but you need the Platform SDK at:
http://www.microsoft.com/downloads/d...displaylang=en

You need to follow instructions for adding the SDK to VC++ Express paths for
headers and libraries:
http://msdn.microsoft.com/vstudio/ex...ualc/usingpsdk

- Steve

Apr 21 '06 #2

Sky wrote:
<as************ ***@gmail.com> wrote in message
news:11******** **************@ t31g2000cwb.goo glegroups.com.. .
Hi,
Can someone please tell me where I can find those two libraries for
Visual C++ 2005 Express Edition compiler?

Thanks in advance,
Ashish.


Not the right news group, but you need the Platform SDK at:
http://www.microsoft.com/downloads/d...displaylang=en

You need to follow instructions for adding the SDK to VC++ Express paths for
headers and libraries:
http://msdn.microsoft.com/vstudio/ex...ualc/usingpsdk

- Steve


Steve, sorry about posting to this list again. I originally did so
because ODBC stuff seemed pertinent to an Access newsgroup. I've
already installed the platform SDK for VC++ 2005 Express Edition; add
the paths etc. but I still can't locate either of those libraries on my
harddrive.

Ashish.

Apr 21 '06 #3
Sky
<as************ ***@gmail.com> wrote in message
news:11******** *************@v 46g2000cwv.goog legroups.com...

Sky wrote:
<as************ ***@gmail.com> wrote in message
news:11******** **************@ t31g2000cwb.goo glegroups.com.. .
Hi,
Can someone please tell me where I can find those two libraries for
Visual C++ 2005 Express Edition compiler?

Thanks in advance,
Ashish.


Not the right news group, but you need the Platform SDK at:
http://www.microsoft.com/downloads/d...displaylang=en
You need to follow instructions for adding the SDK to VC++ Express paths for headers and libraries:
http://msdn.microsoft.com/vstudio/ex...ualc/usingpsdk

- Steve


Steve, sorry about posting to this list again. I originally did so
because ODBC stuff seemed pertinent to an Access newsgroup. I've
already installed the platform SDK for VC++ 2005 Express Edition; add
the paths etc. but I still can't locate either of those libraries on my
harddrive.

Ashish.


I just looked in the SDK install folder, under the Lib subfolder. The
odbc32.lib and odbccp32.lib files are definitely there. Are you sure you
installed the SDK properly?

For compiling, you need to #include the appropriate headers and you need to
add the SDK path for include files, as in the instructions

For linking, you need to add the additional library files in your Additional
Dependencies. For example, edit the corewin_express .vsprops file (found in
C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectD efaults or wherever
you installed) and change the string that reads:

AdditionalDepen dencies="kernel 32.lib"

to something like

AdditionalDepen dencies="kernel 32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
odbc32.lib comctl32.Lib"

or whatever you need. It works for me, and I do explicitly use ODBC in my
C++ programs that read Jet data.

- Steve

Apr 21 '06 #4
I just looked in the SDK install folder, under the Lib subfolder. The
odbc32.lib and odbccp32.lib files are definitely there. Are you sure you
installed the SDK properly?

For compiling, you need to #include the appropriate headers and you need to
add the SDK path for include files, as in the instructions

For linking, you need to add the additional library files in your Additional
Dependencies. For example, edit the corewin_express .vsprops file (found in
C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectD efaults or wherever
you installed) and change the string that reads:

AdditionalDepen dencies="kernel 32.lib"

to something like

AdditionalDepen dencies="kernel 32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
odbc32.lib comctl32.Lib"

or whatever you need. It works for me, and I do explicitly use ODBC in my
C++ programs that read Jet data.

- Steve


This is really odd, I just reinstalled the PSDK to make sure I hadn't
selected the custom option and left out some components the first time.
I did a complete install this time and I still don't have the ODBC
libraries. Do you think it might be because I have free version of the
compiler? Maybe some libraries are installed only with the professional
version.

Ashish.

Apr 21 '06 #5
Sky
<as************ ***@gmail.com> wrote in message
news:11******** *************@j 33g2000cwa.goog legroups.com...

This is really odd, I just reinstalled the PSDK to make sure I hadn't
selected the custom option and left out some components the first time.
I did a complete install this time and I still don't have the ODBC
libraries. Do you think it might be because I have free version of the
compiler? Maybe some libraries are installed only with the professional
version.

Ashish.


I first installed C++ Express (free) and then the SDK (also free) to a
folder "\Sdk". I now have a file "\Sdk\Lib\odbc3 2.lib which I link to.

- Steve

Apr 22 '06 #6

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

Similar topics

4
2012
by: snakeking | last post by:
Hi all, I need to learn enough php to make a 2 page website that looks nice...HELP! SK --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
0
2434
by: Sofia | last post by:
My name is Sofia and I have for many years been running a personals site, together with my partner, on a non-profit basis. The site is currently not running due to us emigrating, but during its last year we got traffic of between 2000 - 2500 unique visitors per day. We are now about to re-launch the site from Sweden and we need to purchase a script to run it. Having looked at what is available on the net I have realised that we need a...
0
1892
by: James Morrow | last post by:
i need a script for reviewing products (much like epinions.com) written in either perl or php (can't use asp). i am very strapped for time and need a functional script asap, which is why i dont have time to write it myself. i would prefer if it used a mysql db. basically, i just need for people to be able to have members write out how much they paid, pros/cons, overall opinion, whether or not they would buy again, and some sort of rating...
6
2170
by: Robert Maas, see http://tinyurl.com/uh3t | last post by:
System login message says PHP is available, so I tried this: http://www.rawbw.com/~rem/HelloPlus/h.php It doesn't work at all. Browser just shows the source. What am I doing wrong?
0
2427
by: Gregory Nans | last post by:
hello, i need some help to 'tree-ify' a string... for example i have strings such as : s = """A(here 's , B(A ) silly test) C(to show D(what kind) of stuff i need))""" and i need to parse them to have a tree representation such as :
8
2833
by: JustSomeGuy | last post by:
I need to write an new class derived from the list class. This class stores data in the list to the disk if an object that is added to the list is over 1K in size. What methods of the std stl list class must Ioverride in order for this to work?
8
2736
by: skumar434 | last post by:
i need to store the data from a data base in to structure .............the problem is like this ....suppose there is a data base which stores the sequence no and item type etc ...but i need only the sequence nos and it should be such that i can access it through the structure .plz help me .
11
4485
by: Alan Mailer | last post by:
A project I'm working on is going to use VB6 as a front end. The back end is going to be pre-existing MS Access 2002 database tables which already have records in them *but do not have any AutoNumber* fields in them. Correct me if I'm wrong, but I'm assuming this means that I cannot now alter these existing Access tables and change their primary key to an "AutoNumber" type. If I'm right about this, I need some suggestions as to the...
0
3945
by: U S Contractors Offering Service A Non-profit | last post by:
Brilliant technology helping those most in need Inbox Reply U S Contractors Offering Service A Non-profit show details 10:37 pm (1 hour ago) Brilliant technology helping those most in need Inbox Reply from Craig Somerford <uscos@2barter.net> hide details 10:25 pm (3 minutes ago)
0
8427
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8330
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8850
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8746
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8523
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6178
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4175
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4334
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2749
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.