#### Archived

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

# Ngine illegal error problem.

This topic is 5747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## 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 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 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 on other sites
In renderer.h change

  	CRENDERER(void)	{	}

to

  	CRENDERER(void) : pr_pRenderInterface(NULL)	{	}

This should fix it.

##### 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.

• ### Forum Statistics

• Total Topics
628682
• Total Posts
2984206

• 13
• 13
• 9
• 10
• 10