Comments (10)
Hi, sorry for being late.
This doesn't reproduce on my side. Possibly, it may depend on the minor version of Visual Studio.
The version info of my VS is like:
Microsoft Visual Studio Community 2013 Version 12.0.31101.00 Update 4
from minhook.
I use Community as well. I think I do a clear install of W10 after its premiere so I reinstall VS2013 and recheck this. But this issue was happing to me from a long time.
from minhook.
I see. Please give me some time to check it. Thanks.
from minhook.
Visual Studio Community 2013 Update 5 was released a few days ago. blogs.msdn.com
Can you try it?
from minhook.
I also have same problem using Visual Studio 2013 Premium update 5.
If I change Debug Information Format to Program Database(/Zi), It works well.
Visual Studio 2010 Professional(VC10) in same environment has no problems.
from minhook.
Sorry for delay, but I forgot about this issue ... I upgraded (clean install) my PC to Windows 10 Pro and installed Visual Studio Community 2013 Update 5 from iso. Problem persisted - VS2013 always rebuild project when Debug Information Format
is None
. This not only affect minhook but all project, it seems to be bug in MSBUILD.
from minhook.
Hey, I just came across this thread while researching this problem in my own project, I thought I would share what I learned, in case you're still having problems with this.
I managed get this to work by:
- Under Project Properties > Configuration Properties > Linker > Debugging, set the Generate Debug Info flag to No and set the Generate Program Database File field to "$(OutDir)$(TargetName).pdb".
- Under Project Properties > Configuration Properties > C/C++ > Output Files, set the Program Database File Name field to "$(OutDir)$(TargetName).pdb". By default, this is set to "$(IntDir)vc$(PlatformToolsetVersion).pdb", for some reason. It appears this should be set to same value as the other field for the build process to behave correctly.
Hope this helps.
from minhook.
Hi Víctor, thanks for your report.
I'm going to release the next version tomorrow, so I have no time to thoroughly test your method before I will release it.
I will check it after v1.3 will be released.
from minhook.
Correction: "Generate Debug Info" should be set to "Yes" if the other fields are set to anything other than an empty string.
from minhook.
@Helios-vmg Thank you for your advice.
from minhook.
Related Issues (20)
- Hooking function fails due to FindPrevFreeRegion and FindNextFreeRegion returning null HOT 3
- How use it by Qt? HOT 1
- make a release HOT 1
- how to hook File operations to return a new file size to user?
- Failed to hook D3D11CreateDeviceAndSwapChain HOT 1
- `__movsb` not defined when cross compiling with clang
- yo HOT 1
- Mid Function Hooking HOT 1
- error cmake vs
- Win9x (95/98/Me) Support? HOT 1
- CreateToolhelp32Snapshot call is very heavy HOT 2
- MinHook Library Inclusion Issue HOT 1
- Cant find Minhook.h HOT 2
- How can I use minhook in my project without vcpkg downloading (it's not working for me)? HOT 2
- Building a dll with the /GL optimization flag and the clang compiler HOT 1
- vcpkg 安装失败!!! HOT 1
- Mid hook issue
- Freeze Unfreeze inside of EnableHookLL/EnableAllHooksLL causes crash HOT 10
- how to use minhook without minhook's dll HOT 3
- crash hook function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minhook.