awesomium / tutorial-framework

Framework to serve as a starting point for tutorials
MIT License
18 stars 7 forks source link

Fixing Null Pointer Exception in ShowWindow #10

Open BackToTheDrawingBoard opened 7 years ago

BackToTheDrawingBoard commented 7 years ago

If the ViewWin isn't added to g_active_views before ShowWindow is called, then it can't be found by the handle, and consequently there is a null pointer exception. Please fix this. I spent 45 minutes debugging the tutorial when I could have been learning Awesomium.