<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