Skip to main content
1-Visitor
January 9, 2019
Solved

Error while compiling code

  • January 9, 2019
  • 1 reply
  • 5547 views

Hello,

 Please help while compiling code in visual studio2010 i am getting below errror.

 

Best answer by YaroslavSin

Hi

Try this

Properties - C/C+ - Code Generation - Runtime Library = Multi-threaded Debug (/MTd)

Properties - Linker - Input - Ignore Specific Default Library = libcmt.lib

1 reply

1-Visitor
January 9, 2019

#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()
{

}

17-Peridot
January 9, 2019
For compiling and linking you using make file or project in VS?
1-Visitor
January 10, 2019

I am using project .attached steps for creation of project in Vs