I have downloaded EasyHook 2.7 source and I try to compile it in my Visual Studio 2012 environment.
After solving a lot of warnings, I have found other warnings that I cannot solve, and these are:
1>error.obj : error LNK2019: unresolved external symbol _CoTaskMemAlloc@4 referenced in function _RtlGetLastErrorStringCopy@0
1>error.obj : error LNK2019: unresolved external symbol _CopyMemory@12 referenced in function _RtlGetLastErrorStringCopy@0
1>reloc.obj : error LNK2019: unresolved external symbol _ud_init@4 referenced in function _LhDisassembleInstruction@20
1>reloc.obj : error LNK2019: unresolved external symbol _ud_set_mode@8 referenced in function _LhDisassembleInstruction@20
1>reloc.obj : error LNK2019: unresolved external symbol _ud_set_input_buffer@12 referenced in function _LhDisassembleInstruction@20
1>reloc.obj : error LNK2019: unresolved external symbol _ud_set_syntax@8 referenced in function _LhDisassembleInstruction@20
1>reloc.obj : error LNK2019: unresolved external symbol _ud_disassemble@4 referenced in function _LhDisassembleInstruction@20
1>reloc.obj : error LNK2019: unresolved external symbol _ud_translate_intel@4 referenced in function _LhDisassembleInstruction@20
1>reloc.obj : error LNK2019: unresolved external symbol _ud_set_asm_buffer@12 referenced in function _LhDisassembleInstruction@20
1>C:\Users\Jaime Stuardo\Downloads\EasyHook-2.7.5159.0-Source\\Debug\x86\EasyHook32Drv.sys : fatal error LNK1120: 9 unresolved externals
What lib files I need to add so that the linker will not fail? notice that the first 2 functions belong to Windows API, so it is very curious it does not link.
Regards Jaime