I have met with LNK2019 error. The details are
error LNK2019: unresolved external symbol imp__JAWT_GetAWT@8
referenced in function "struct HWND * cdecl
getHwndFromComponent(class jobject *,struct JNIEnv *)"
JAWT is a shared library, which means you need to link with it.
C:\Program Files (x86)\Java\jdk1.6.0_45\lib as an additional library path (under linker settings)
jawt as an additional library (under linker settings)