Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: C++ ODBC Error

  1. Jul 9, 2010 #1
    Hi guys, I'm working on a keygen project on C++.
    Type is Win32 Console Application.

    For what i've learnt, I'm using stdio.h, conio.h, stdlib.h. time.h so everything is in printf and scanf (not using cin cout namespace std etc)

    So far I have not yet learnt strcompare, dynamic memory so I have to improvise using stuff I've already learnt.

    This is only part of the program, I've tried running the exact same program on a school computer running Visual C++ 6.0 and it works fine...

    When I try running it at home on Visual C++ 2005, I get this error while building solution

    Error 2 fatal error LNK1181: cannot open input file 'odbc32.lib' keygen

    Warning 1 warning LNK4076: invalid incremental status file '.\Debug/keygen.ilk'; linking nonincrementally keygen

    please help asap thanks!
    Last edited: Jul 9, 2010
  2. jcsd
  3. Jul 10, 2010 #2
    Install the Platform SDK (all of it).

    This contains further information:
    http://social.msdn.microsoft.com/forums/en-US/vclanguage/thread/0f39e8ef-0cf9-408e-98f5-1ade6d630b44" [Broken]
    Last edited by a moderator: May 4, 2017
  4. Jul 11, 2010 #3
    Last edited by a moderator: Apr 25, 2017
  5. Jul 11, 2010 #4


    User Avatar
    Science Advisor
    Gold Member
    2017 Award

    Last edited by a moderator: Apr 25, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook