diff --git a/G3DTest.vcproj b/G3DTest.vcproj index 7cf57bf..e8f6828 100644 --- a/G3DTest.vcproj +++ b/G3DTest.vcproj @@ -21,6 +21,7 @@ ConfigurationType="1" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" + UseOfATL="2" ATLMinimizesCRunTimeLibraryUsage="false" CharacterSet="2" > @@ -73,6 +74,7 @@ /> +#include +#include +#include +#include @@ -38,6 +42,7 @@ #endif HWND hwnd; +IWebBrowser2* test; static std::string title = ""; static DataModelInstance* dataModel; GFontRef fntdominant = NULL; @@ -66,6 +71,8 @@ static const std::string PlaceholderName = "Dynamica"; Demo *usableApp = NULL; + + Demo::Demo(const GAppSettings& settings,HWND parentWindow) { //: GApp(settings,window) { _hWndMain = parentWindow; @@ -838,7 +845,7 @@ bool IsHolding(int button) return (GetKeyState(button) >> 1)>0; } -bool GetKPBool(int VK) { +BOOL GetKPBool(int VK) { return (GetKeyState(VK) & 0x8000); }