visual studio 2010 - Error Code -1073741515 When Using EDITBIN -


i'm using editbin increase stack size of application i'm writing. have in post-build event command line visual studio:

"c:\program files (x86)\microsoft visual studio 10.0\vc\bin\editbin.exe" /stack:268435456 "$(targetpath)" 

when build project, error:

error 470 command ""c:\program files (x86)\microsoft visual studio 10.0\vc\bin\editbin.exe" /stack:268435456 "[target executable]"" exited code -1073741515.

i have both of following in path environment variable:

c:\program files (x86)\microsoft visual studio 10.0\common7\ide

c:\program files (x86)\microsoft visual studio 10.0\vc\bin

the command works when run manually cmd.exe. know problem here?

i had same issue, how resolved it:

ran msbuild.exe <my.sln> /t:<mytargetproject> vs2010 command prompt, <my.sln> solution name , <mytargetproject> project trying build. e.g. msbuild.exe helloworld.sln /t:mainproj.

when or @ least when ran this, dialog box popped , said "foo.dll" cannot found, added path of dll "path" environment variable , problem solved! see chrisf's comment question, says, error dll/component missing.

from dll name complained about, believe not contained vs2010 libs/dlls, me third-party dll (which using , supposed available during build) complaining about.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -