Month: November 2010
-
What is the difference between int and System::Int32
Some may say identical, at least that’s what the Visual C++ compiler tells you at the first glance when you turn on /oldsyntax public __gc class Class1 { public: void F1(int a){} void F1(System::Int32 a){} //Error 2 error 2535: void Class1::F1(int)’ : member function already defined or declared } Okay, so if I add & to…
-
Application crash when forcing IE8 rendering mode in webbrowser host
User stephench is reporting that when setting webbrowser rendering mode to IE8 via FEATURE_BROWSER_EMULATION, the app would crash. The web site crashes IE8 too, but IE8 is able to recover and automatically switch to IE7 mode, while a webbrowser host crash in WinInet when switching to the compatibility mode (Note the ReloadInCompatView function on the…