Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samples Issue with detours.h under Visual Studio #329

Open
kamyers1 opened this issue Nov 22, 2024 · 0 comments
Open

Samples Issue with detours.h under Visual Studio #329

kamyers1 opened this issue Nov 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kamyers1
Copy link

Describe the bug
In the Visual Studio IDE, references to detours.h in all of the samples source code files report an error of "cannot open source file "detours.h", even after building the src folder.

I realize that the detours package is primarily directed to developers who mainly use the command line instead of the IDE. But the project includes a Detours.sln file for opening the project in the Visual Studio IDE. Shouldn't that file address this very basic problem? I would like to be able build this project in the Visual Studio IDE. If that is not possible, or not supported, should the Detours.sln file even be included in the project?

I am not an advanced c language developer, so I apologize if there is something simple here that I am missing.

Command-line test case
This is a pre-build issue with detours.h for all of the samples source code in the in the Visual Studio IDE, not a command line problem. To illustrate this problem, merely open the vc\Detours.sln file in the Visual Studio IDE (with as-installed default settings), then open any of the source code files in the samples folder that make use of detours.h.

Expected behavior
With the Detours solution opened in the Visual Studio IDE, settings should be changed as necessary to correct the problem described above. Then the solution should be saved and the corrected Detours.sln file should be uploaded to the vc folder on github.

Detours version
Version 4.0.1 of Detours as downloaded via gitclone on 11/21/2024.

@kamyers1 kamyers1 added the bug Something isn't working label Nov 22, 2024
@kamyers1 kamyers1 changed the title <header>: Samples Issue with detours.h under Visual Studio <header>: Samples Issue with detours.h under Visual Studio </header> Nov 22, 2024
@kamyers1 kamyers1 changed the title <header>: Samples Issue with detours.h under Visual Studio </header> Samples Issue with detours.h under Visual Studio Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant