{"action":"created","issue":{"url":"https://api.github.com/repos/cinder/Cinder/issues/1165","labels_url":"https://api.github.com/repos/cinder/Cinder/issues/1165/labels{/name}","comments_url":"https://api.github.com/repos/cinder/Cinder/issues/1165/comments","events_url":"https://api.github.com/repos/cinder/Cinder/issues/1165/events","html_url":"https://github.com/cinder/Cinder/issues/1165","id":111957264,"number":1165,"title":"BasicAppMultiWindow sample crashes","user":{"login":"Hurleyworks","id":8120255,"avatar_url":"https://avatars.githubusercontent.com/u/8120255?v=3","gravatar_id":"","url":"https://api.github.com/users/Hurleyworks","html_url":"https://github.com/Hurleyworks","followers_url":"https://api.github.com/users/Hurleyworks/followers","following_url":"https://api.github.com/users/Hurleyworks/following{/other_user}","gists_url":"https://api.github.com/users/Hurleyworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Hurleyworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hurleyworks/subscriptions","organizations_url":"https://api.github.com/users/Hurleyworks/orgs","repos_url":"https://api.github.com/users/Hurleyworks/repos","events_url":"https://api.github.com/users/Hurleyworks/events{/privacy}","received_events_url":"https://api.github.com/users/Hurleyworks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-17T11:01:51Z","updated_at":"2015-11-27T22:04:42Z","closed_at":null,"body":"The BasicAppMultiWindow sample crashes inside draw() because the pointer returned by getWindow()->getUserData() is null.\r\n\r\nIf the createNewWindow() call inside setup() is removed then the sample works as expected.\r\n\r\nusing vc2013/vc2015  on Windows 8.1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cinder/Cinder/issues/comments/160218469","html_url":"https://github.com/cinder/Cinder/issues/1165#issuecomment-160218469","issue_url":"https://api.github.com/repos/cinder/Cinder/issues/1165","id":160218469,"user":{"login":"Hurleyworks","id":8120255,"avatar_url":"https://avatars.githubusercontent.com/u/8120255?v=3","gravatar_id":"","url":"https://api.github.com/users/Hurleyworks","html_url":"https://github.com/Hurleyworks","followers_url":"https://api.github.com/users/Hurleyworks/followers","following_url":"https://api.github.com/users/Hurleyworks/following{/other_user}","gists_url":"https://api.github.com/users/Hurleyworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Hurleyworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hurleyworks/subscriptions","organizations_url":"https://api.github.com/users/Hurleyworks/orgs","repos_url":"https://api.github.com/users/Hurleyworks/repos","events_url":"https://api.github.com/users/Hurleyworks/events{/privacy}","received_events_url":"https://api.github.com/users/Hurleyworks/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T22:04:42Z","updated_at":"2015-11-27T22:04:42Z","body":"Certainly possible, but too far back for me to remember clearly.  One other\npossibility is that when I first started out using Cinder I built Cinder\nand the samples using the DLL Runtime Library  since all my other useful\nlibraries were built using that option. I have no idea if this  could cause\nthe crash but it's possible that I was running the samples using the (/MDd)\noption.  These days I'm using the Static Runtime\n\nOn Fri, Nov 27, 2015 at 3:51 PM, Richard Eakin <notifications@github.com>\nwrote:\n\n> Would it be possible that your cinder.lib was out of date (for example,\n> you had pulled latest master branch without rebuilding cinder)?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/cinder/Cinder/issues/1165#issuecomment-160202097>.\n>\n\n\n\n-- \n-Steve\nhttp://www.hurleyworks.com\n"}}