Re: [Boost-users] Boost Spirit and C++/CLI

When you use windows forms programs you can't use the standard main entry point with mixed unmanaged code. There is a bug in the initialization of the CRT in VS2005. It seems that the bug is not anymore in VS2008. Test it with the entry point '?mainCRTStartupStrArray@@$$FYMHP$01AP$AAVString@System@@@Z' Best regards Hansjörg _______________________________________________________________________ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

Hansi Hansi wrote:
When you use windows forms programs you can't use the standard main entry point with mixed unmanaged code. There is a bug in the initialization of the CRT in VS2005. It seems that the bug is not anymore in VS2008. Test it with the entry point '?mainCRTStartupStrArray@@$$FYMHP$01AP$AAVString@System@@@Z'
Thank you, that was the problem. Jason

When you use windows forms programs you can't use the standard main entry
There is a bug in the initialization of the CRT in VS2005. It seems that
Thanks. Worked for me too. Dan -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Jason Stewart Sent: Thursday, October 11, 2007 10:35 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Boost Spirit and C++/CLI Hansi Hansi wrote: point with mixed unmanaged code. the bug is not anymore in VS2008.
Test it with the entry point '?mainCRTStartupStrArray@@$$FYMHP$01AP$AAVString@System@@@Z'
Thank you, that was the problem. Jason _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Thanks, as well. I've run into a similar problem. My workaround was to compile everything as managed, but this led to some severe performance problems. For reference, I am using boost::threads and smart pointers extensively. I am also using VS2005. I'll give this a try. Dan -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Hansi Hansi Sent: Thursday, October 11, 2007 1:26 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Boost Spirit and C++/CLI When you use windows forms programs you can't use the standard main entry point with mixed unmanaged code. There is a bug in the initialization of the CRT in VS2005. It seems that the bug is not anymore in VS2008. Test it with the entry point '?mainCRTStartupStrArray@@$$FYMHP$01AP$AAVString@System@@@Z' Best regards Hansjörg _______________________________________________________________________ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220 _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Daniel J. Kelly
-
Hansi Hansi
-
Jason Stewart