Then, i faced a message LNK2019. It was not a problem in source code.
As you have got a following messages, when you had built a project.
1>------ Build started: Project: MyDriver1, Configuration: Win8.1 Debug x64 ------
1> Source.cpp
1>BufferOverflowFastFailK.lib(gs_driverentry.obj) : error LNK2019: unresolved external symbol DriverEntry referenced in function GsDriverEntry
1>C:\Users\Administrator\Desktop\helloworld\MyDriver1\x64\Win8.1Debug\MyDriver1.sys : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
|
Basically, visual studio 2013 does not support C that is file extension .
To use C , you have to use statement 'extern c{}' like this.
P
......... } } |
No comments:
Post a Comment