Sergey Vlasov:
Wednesday, December 19, 2007, Jason McGuidwin wrote:
JM> I am trying to compile a simple proragm with the thread headers JM> included and the clr option in VS2005
JM> When i include the thread headers and set the to compile with the JM> /clr option the app will not execute and give the error below: JM> "The application failed to initialize properly (0xc000007b). Click JM> on OK to terminate the application."
You probably encountered one of the VS2005 SP1 peculiarities.
Change /entry:main to /entry:?mainCRTStartupStrArray@@$$FYMHP$01AP$AAVString@System@@@Z
See http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedbac... for more details.
I'd bet on https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedba...