Skip to main content
1-Visitor
Jan 9, 2019 9:57 AM UTC
Solved

Error while compiling code

Hello,

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

 

17-Peridot
Jan 10, 2019 8:27 AM UTC

Hi

Try this

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

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

7 replies

1-Visitor
Jan 9, 2019 10:00 AM UTC

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

}

Translate
17-Peridot
Jan 9, 2019 1:56 PM UTC
For compiling and linking you using make file or project in VS?
Translate
1-Visitor
Jan 10, 2019 2:48 AM UTC

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

Translate