Archived

This topic is now archived and is closed to further replies.

dirkduck

Ngine illegal error problem.

Recommended Posts

I can get the latest version of The Ngine to compile and link fine, but whenever I try to run it I get an illegal error (page fault) right before it starts (before it even starts to draw a window). Im not sure what the problem is. Ive tried it on two computers, and I get the same error each time. Any ideas? Thanks. (im using windown 98 SE on each computer) EDIT: Just did a debug and it says the error occures on this line in render.cpp:

bool CRENDERER::
	bSetupScreen(char* a_szConfigINIFile, int a_iFlags)
{
	return (pr_pRenderInterface->bSetupScreen  //THIS ONE

(a_szConfigINIFile, a_iFlags));
}
  
It points to the return line. Any ideas? http://www.labino.net - freeware and shareware games. Edited by - dirkduck on March 20, 2002 7:47:59 PM Edited by - dirkduck on March 20, 2002 7:48:53 PM

Share this post


Link to post
Share on other sites
Hmm, I''m no guru programmer or anything, but you seem to be missing a finishing ) on the end of the return command. \

Try:

return (pr_pRenderInterface->bSetupScreen)

Mr Bugg

Share this post


Link to post
Share on other sites
Arg, sorry, I just copyed and pasted code striaght from the engine, must have left off the parenthesie when i did that, it should be there.

http://www.labino.net -
freeware and shareware games.

Share this post


Link to post
Share on other sites
Thanks! That gets it far enough to draw the window, but after that, and before it draws the text, it gives me another illegal error, in the gl_render dll. Anyone know whats wrong now? Thanks

http://www.labino.net -
freeware and shareware games.

Share this post


Link to post
Share on other sites