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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Error while compiling code

Dhananjayc_24
10-Marble

Error while compiling code

Hello,

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

 

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

 

Announcements


Top Tags