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

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 11429
Sky
<as***************@gmail.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.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.googlegr oups.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*********************@v46g2000cwv.googlegro ups.com...

Sky wrote:
<as***************@gmail.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.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\VCProjectDefaults or wherever
you installed) and change the string that reads:

AdditionalDependencies="kernel32.lib"

to something like

AdditionalDependencies="kernel32.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\VCProjectDefaults or wherever
you installed) and change the string that reads:

AdditionalDependencies="kernel32.lib"

to something like

AdditionalDependencies="kernel32.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*********************@j33g2000cwa.googlegro ups.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\odbc32.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
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)....
0
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...
0
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...
6
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
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...
8
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...
8
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...
11
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...
0
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 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
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.