You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
changed the title
<header>: Samples Issue with detours.h under Visual Studio </header>
Samples Issue with detours.h under Visual Studio
Nov 22, 2024
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.
The text was updated successfully, but these errors were encountered: