c++ - Cannot run a compiled program -


i used source here

http://www.luckyspin.org/?p=28

i downloaded curl , built visual studio sdk cmd. pasted code in visual studio 2010 (gui) , added needed paths , libs.

the program compiled fine, on run prompted msvcr90.dll. found file , copied on system32 folder. when ran program got error

r6034 application has made attempt load c runtime library incorrectly. please contact applications suport team more information. 

i tried compiling dev-cpp well, same thing.

what wrong?

another option statically link crt runtime library.

i don't have vs2010 in earlier versions, go project menu, select properties, select "configuration properties" / "c/c++" / "code generation" , choose multithreaded instead of multithreaded dll "runtime library" choice release configuration. or choose multithreaded debug instead of multithreaded debug dll debug configuration.


Comments