Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello,
Please help while compiling code in visual studio2010 i am getting below errror.
Solved! Go to Solution.
Hi
Try this
Properties - C/C+ - Code Generation - Runtime Library = Multi-threaded Debug (/MTd)
Properties - Linker - Input - Ignore Specific Default Library = libcmt.lib
#include<ProToolkit.h>
#include<ProMdl.h>
#include<ProUtil.h>
int user_initialize()
{
ProError status;
ProMdl mdl;
wchar_t *ProName ;
ProMdlType type;
status= ProMdlCurrentGet(&mdl);
status=ProMdlTypeGet(mdl,&type);
status=ProMdlNameGet(mdl, ProName);
return(0);
}
void user_terminate()
{
}
I am using project .attached steps for creation of project in Vs
Compare with my properties.
You have link error - check Linker properties.
Hello,
After changing linker properties I am getting many issues .
attached in word file
Hi
Try this
Properties - C/C+ - Code Generation - Runtime Library = Multi-threaded Debug (/MTd)
Properties - Linker - Input - Ignore Specific Default Library = libcmt.lib
Thanks for providing solution