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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Error while compiling code

Dhananjayc_24
9-Granite

Error while compiling code

Hello,

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi

Try this

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

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

View solution in original post

7 REPLIES 7

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

}

For compiling and linking you using make file or project in VS?

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

 

Top Tags