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

Windows 10 Error #3

Open
rei-gun opened this issue May 30, 2020 · 1 comment
Open

Windows 10 Error #3

rei-gun opened this issue May 30, 2020 · 1 comment

Comments

@rei-gun
Copy link

rei-gun commented May 30, 2020

Using Visual Studio 2019

Severity	Code	Description	Project	File	Line	Suppression State
Error	RC1015	cannot open include file 'afxres.h'.	WinKill	C:\Users\dynam\Documents\repos\winkill\WinKill\WinKill.rc	10	
@57r31
Copy link

57r31 commented Aug 25, 2022

https://stackoverflow.com/questions/3566018/cannot-open-include-file-afxres-h-in-vc2010-express

Replacing afxres.h with Winresrc.h and declaring IDC_STATIC as -1 worked for me. (Using visual studio Premium 2012)

//#include "afxres.h"
#include "WinResrc.h"
#define IDC_STATIC -1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants