cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are troubleshooting an issue impacting community login, and it may be intermittently unavailable. Sorry for any inconvenience.

link error

Emilie
1-Newbie

link error

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.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1
Emilie
1-Newbie
(To:Emilie)

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/

Announcements


Top Tags