Here is a pretty good document describing the use of the CRT:
http://msdn.microsoft.com/en-us/library/abx4dbyh.aspx

----- Rom

-----Original Message-----
From: boinc_dev [mailto:[email protected]] On Behalf Of 
Nicolás Alvarez
Sent: Sunday, January 11, 2015 11:59 AM
To: BOINC Developers Mailing List
Subject: [boinc_dev] Building science apps with MSVC

I just compiled a science app for Windows using Visual Studio 2013 (via a nmake 
makefile, not the bundled project files). It crashed on almost every host due 
to missing C and C++ runtime. I ended up sending msvcr120.dll and msvcp120.dll 
as part of the application version, which worked.

Is this the right solution? Can I link to the runtime statically instead? How 
do other projects do it? (or does everyone use MinGW :P)

In addition, there is a set of hosts that is still failing, but with a 
different error: "couldn't start app: CreateProcess() failed - (unknown 
error)". They all belong to the same user, but I'm not sure if that's the 
important factor...

--
Nicolás
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to