Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How do you compile Detours 2.1 in Visual C++ 2010?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
False Prophet
Expert Cheater
Reputation: -1

Joined: 28 May 2006
Posts: 121

PostPosted: Mon Jan 03, 2011 9:34 pm    Post subject: How do you compile Detours 2.1 in Visual C++ 2010? Reply with quote

Topic.
How the freak? I keep getting errors and errors and warnings and errors...
Any idea's on this?

_________________
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Jan 04, 2011 10:11 am    Post subject: Reply with quote

can you post the errors? If you have unicode chosen on a multibyte application, you will get a lot of errors about conversion. Try making the compilation multibyte (It's in preferences > general project properties)
_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Jan 04, 2011 10:58 pm    Post subject: Reply with quote

Detours builds via command line by default. If you made your own solution for it you probably for got to change the character set, like HS mentioned or other adjustments to the configuration.

Quote:
2. BUILD INSTRUCTIONS:
======================
To build the libraries and the sample applications, type "nmake".


With Visual Studio you can goto:
1. Start -> All Programs
2. Microsoft Visual Studio 2010
3. Visual Studio Tools
4. Visual Studio Command Prompt (2010)

Which then change the directory in the command prompt to point the Detours directory with the make files and use the command nmake.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
False Prophet
Expert Cheater
Reputation: -1

Joined: 28 May 2006
Posts: 121

PostPosted: Wed Jan 05, 2011 1:51 pm    Post subject: Reply with quote

My first attempt was by using nmake but it gave errors as well. Does this not compile with VS Express 2010?
_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Jan 05, 2011 2:50 pm    Post subject: Reply with quote

Another.False.Prophet wrote:
My first attempt was by using nmake but it gave errors as well. Does this not compile with VS Express 2010?


It should compile fine. Post your errors so we can attempt to help you.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
False Prophet
Expert Cheater
Reputation: -1

Joined: 28 May 2006
Posts: 121

PostPosted: Wed Jan 05, 2011 9:25 pm    Post subject: Reply with quote

I managed to finally compile it using Visual Studio 2010 and not Visual Studio Express. Confused
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites