Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hello,
I'm a new user of the Pro/Toolkit and I try to compile a very simple project just to be sure it's working before starting a real project with it.
Unfortunately I get stuck with linking errors like
protoolkit.lib(srcrtl.obj) : error LNK2019: unresolved external symbol NetRemoteTOD referenced in function NetRemoteTOD_thunk
1>protoolkit.lib(srcrtl.obj) : error LNK2019: unresolved external symbol NetApiBufferFree referenced in function NetApiBufferFree_thunk
1>protoolkit.lib(srcbase.obj) : error LNK2019: unresolved external symbol GetModuleInformation referenced in function "enum BtkErrorT __cdecl baseDlmGetHandleByAddr(struct HINSTANCE__ * *,void const *)" (?baseDlmGetHandleByAddr@@YA?AW4BtkErrorT@@PEAPEAUHINSTANCE__@@PEBX@Z)
1>protoolkit.lib(cu_dll_tools.obj) : error LNK2001: unresolved external symbol GetModuleInformation
1>protoolkit.lib(srcbase.obj) : error LNK2019: unresolved external symbol EnumProcessModules referenced in function "enum BtkErrorT __cdecl baseDlmGetHandleByAddr(struct HINSTANCE__ * *,void const *)" (?baseDlmGetHandleByAddr@@YA?AW4BtkErrorT@@PEAPEAUHINSTANCE__@@PEBX@Z)
1>protoolkit.lib(cu_dll_tools.obj) : error LNK2001: unresolved external symbol EnumProcessModules
1>protoolkit.lib(srcbase.obj) : error LNK2019: unresolved external symbol GetProcessImageFileNameW referenced in function btkDlmGetProcessImagePath
1>protoolkit.lib(srcproc.obj) : error LNK2001: unresolved external symbol GetProcessImageFileNameW
1>protoolkit.lib(cu_dll_tools.obj) : error LNK2019: unresolved external symbol GetModuleFileNameExW referenced in function get_module_path_by_address
I have Win 7 64 bits and I am using Visual Studio 2008 Express. I try to compile a 64bits projects as I have installed a 64 bits version of ProE and Pro/toolkit
Is there something special in the configuration I have to do?
Here is my project as attached file.
Please help!
thanks in advance.
During the time I was uploading the project I found an interesting post :
http://www.mcadcentral.com/creo-software-development/22273-protoolkit-wf5-0-error-linking-2.html
the last one helped me :
Your project use x86e_win64 lib but you complie your project use win32 platform.You need create a x64 platform;
additional dependencies lib=protk_dllmd.lib protkmd.lib wsock32.lib mpr.lib kernel32.lib psapi.lib ws2_32.lib netapi32.lib
So now I manage to compile my project. \o/