all this is that the linker cannot find , definition to procedure "_HelloProc" either define it or include relevant header file , along with

#pragma comment(lib,"somelib.lib") // works...