Crash during engine initilisation
Forum » User forums / Bugs and issues » Crash during engine initilisation
Started by: CJacksonCJackson
On: 1241183484|%e %b %Y, %H:%M %Z|agohover
Number of posts: 3
rss icon RSS: New posts
Summary:
createwindow() function is failing.
Crash during engine initilisation
CJacksonCJackson 1241183484|%e %b %Y, %H:%M %Z|agohover

During engine initilisation, the function SettingsWindowWin32::createWindow() is logging an error and returning false, which causes the app to quit prematurely. I've posted more details and the relevant files in a ticket in the bug report section.
Oh, and this is just while I'm trying to make my own version of tutorial 1-2.

unfold Crash during engine initilisation by CJacksonCJackson, 1241183484|%e %b %Y, %H:%M %Z|agohover
Re: Crash during engine initilisation
CJacksonCJackson 1241184198|%e %b %Y, %H:%M %Z|agohover

Hmmm, looking more closely at the provided version of tutorial 1-2, it looks to me like the window that the function is attempting to create is the one that has the options for resolution, vsync etc. So I think the reason the function is failing is because it can't find the texture files it needs to display that window? Exactly which files do I need to copy and where should I put them relative to my project files? I guess I could just create my projects in the same place as the tutorials/samples, but I'd rather not do that if I don't have to.

unfold Re: Crash during engine initilisation by CJacksonCJackson, 1241184198|%e %b %Y, %H:%M %Z|agohover
Re: Crash during engine initilisation
wtomanwtoman 1241184398|%e %b %Y, %H:%M %Z|agohover

The easiest way to go now is to copy resource file in to your project folder (FrameworkWin32.rc) and also put there Logo.bmp. Of course you have to ensure then that the contents of the resource file is valid i.e. it really uses your newly copied logo texture. However, I'm fixing it right now.

// EDIT: of course after pasting resource file into your project folder you have to remove old one from visual studio and add your newly pasted.

last edited on 1241185255|%e %b %Y, %H:%M %Z|agohover by wtoman + show more
unfold Re: Crash during engine initilisation by wtomanwtoman, 1241184398|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License