hijacking
Собиралось VS2010 pro relase mode
При добавлении этой функции в export.def и в main.ccp
extern "C" __declspec(dllexport) BOOL CALLBACK TransparentBlt(){return FALSE;}
при компиляции выдаёт ошибку:
------ Build started: Project: main, Configuration: Release Win32 ------
Build started 30.07.2012 18:10:58.
InitializeBuildStatus:
Touching "Release\main.unsuccessfulbuild".
ClCompile:
main.cpp
main.cpp(14): error C2733: second C linkage of overloaded function 'TransparentBlt' not allowed
main.cpp(14) : see declaration of 'TransparentBlt'
Build FAILED.
Time Elapsed 00:00:01.56
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========