TsudaKageyu / minhook

The Minimalistic x86/x64 API Hooking Library for Windows
http://www.codeproject.com/KB/winsdk/LibMinHook.aspx
Other
4.43k stars 897 forks source link

Unable to change toolset from v140_xp to v140 #32

Closed pisiiki closed 8 years ago

pisiiki commented 8 years ago

Hello TsudaKageyu,

I'm trying to build minhook for v140 however it seems impossible to change the projects to this configuration. Target Platform and Target Platform Version in config shows blank in my VS. Please take a look at it when you can.

Regards. Isaac Lascasas.

Nucleoprotein commented 8 years ago

Do you use correct project file? You need to use project from build/VC14 directory.

pisiiki commented 8 years ago

Yeah Nucleoprotein, it is very strange. The fields for Target Platform and Target Platform Version are empty and disabled. I forgot to mention, Minhook's configured toolset defaults to v140_xp, I'm trying to build the lib myself just for v140 and sdk 8.1 because I have trouble hooking an app and I want to step into Minhook's code while debugging to see in detail what is going on.

Thanks.

Nucleoprotein commented 8 years ago

Quick and dirty fix - edit vcxproj in notepad (it's a xml file), and change v140_xp to v140.

pisiiki commented 8 years ago

Works!

Thanks.