summaryrefslogtreecommitdiffstats
path: root/Tests/VSResource/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/VSResource/main.cpp')
-rw-r--r--Tests/VSResource/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/VSResource/main.cpp b/Tests/VSResource/main.cpp
new file mode 100644
index 0000000..6f68df3
--- /dev/null
+++ b/Tests/VSResource/main.cpp
@@ -0,0 +1,10 @@
+#include <windows.h>
+
+int main(int argc, char** argv) {
+ HRSRC hello = ::FindResource(0, "hello", "TEXT");
+ if(hello) {
+ return 0;
+ } else {
+ return 1;
+ }
+}