Debugging a C++ Keygen Project: Win32 Console Application

Click For Summary

Discussion Overview

The discussion revolves around debugging a C++ keygen project specifically designed as a Win32 Console Application. Participants are addressing issues related to building the project in different versions of Visual C++ and the necessary components for successful compilation.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes their setup using stdio.h, conio.h, stdlib.h, and time.h, and mentions issues encountered when transitioning from Visual C++ 6.0 to Visual C++ 2005.
  • The same participant reports a specific error (LNK1181) related to a missing input file 'odbc32.lib' when attempting to build the solution at home.
  • Another participant suggests installing the Platform SDK as a potential solution to the linking error.
  • Further replies inquire about the specific version of the Platform SDK needed for Windows 7, with links provided to relevant downloads.

Areas of Agreement / Disagreement

Participants appear to agree on the need for the Platform SDK to resolve the linking issue, but there is no consensus on which specific version is appropriate for Windows 7.

Contextual Notes

There are unresolved dependencies regarding the specific libraries required for the project, as well as the compatibility of different Visual C++ versions with the Windows 7 operating system.

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 count 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:

Similar threads

  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K