Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windowsドライバーがリソースを持つことは可能ですか?もしそうなら、どうすればそれらを追加し、より重要なことにそれらにアクセスできますか?
バージョン情報リソースのみをドライバーに追加しています。ソースにrc-fileを追加するだけです。
SOURCES = ver.rc \ main.cpp
ドライバーからリソースにアクセスする場合は、ドライバーのベースアドレスを取得し、IMAGE_DOS_HEADER / IMAGE_NT_HEADERS/DataDirectoryを使用してリソースを検索することをお勧めします。