Comp Sci Debugging a C++ Keygen Project: Win32 Console Application

AI Thread Summary
A user is developing a keygen project in C++ as a Win32 Console Application and is facing issues when building the solution on Visual C++ 2005, specifically encountering a fatal error related to 'odbc32.lib'. They mention that the program runs fine on Visual C++ 6.0 at school. The discussion includes suggestions to install the Platform SDK to resolve the linking issues. Various links to the Platform SDK downloads are provided, with a recommendation to try a specific version for Windows 7. The focus is on troubleshooting the build error and ensuring the necessary libraries are available.
Deathfish
Messages
80
Reaction score
0
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 learned 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:
Physics news on Phys.org
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"
 
Last edited by a moderator:
Back
Top