Like this:
I know there’s a few ways in forum, but is it a offical document descripe about this for driver ?
Like this:
I know there’s a few ways in forum, but is it a offical document descripe about this for driver ?
Create an RC file. Add it to the project. We create the file with a text editor, sort of like shown here. Just get an RC file from a WDK sample and edit it with notepad.
Peter
Thanks your reply.
I had try to add it via VS right-click menu, and open xxx.rc in Resource Explorer, but get fatal erro RC1015 cannot open include file winres.h
.
I try to include the path of winres.h
but same result.
Sure, but now I write it manually in plain text, not the Resource Editor, build success.
I prefer to use editors to edit them rather than hand-written text, if possible.
I prefer to use editors to edit them rather than hand-written text, if possible
For drivers, you’re better off using notepad.
So, you’re all set now?
Peter
So, you’re all set now?
Yes, all works well except the resource editor, thank you very much !
Try this approach https://github.com/AndreyBazhan/Version. In step 2, though, add Version.rc to your rc file using notepad.exe or F7.
#ifndef APSTUDIO_INVOKED
#include “Version.rc”
#endif