Help with WinMain

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Guest

Help with WinMain

Post by Guest »

I'm trying to get rid of the console box but can't seem to get rid of it? Little help please.
NovaCoder
Posts: 28
Joined: Wed May 26, 2004 11:36 am
Contact:

Post by NovaCoder »

I don't think you can, you can get a build from my site that let's you create your own window class and then pass the HWND into the engine.
- Nova
MindFlayer
Posts: 3
Joined: Tue Jun 15, 2004 1:16 pm
Location: Finland

Post by MindFlayer »

I use SDL with Irrlicht - no console boxes - no need for WinMain! It is also portable!
Atlantis
Posts: 8
Joined: Thu Aug 12, 2004 6:31 am
Location: Florida

Post by Atlantis »

Well you have 2 choices.. create a windows application with winmain or use SDL.

Code: Select all

int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine,int nCmdShow )
-Atlantis

Well Then we'll just have to get to know each other.. Me umm I like uh, farris wheels and college football, anything that goes faster than 200 miles per hour. Mjr. John Sheppard ( Stargate: Atlantis )
Jazz
Posts: 6
Joined: Fri Aug 27, 2004 7:24 am

Post by Jazz »

is there any code sample irrlicht on sdl screen as you mentioned :)
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Well, I don't know which compiler you're using...
With Dev-Cpp you can open the projects properties and under Compiler->Linker you can enable/disable the creation of the console window...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Jazz
Posts: 6
Joined: Fri Aug 27, 2004 7:24 am

Post by Jazz »

I know the feature in Dev-Cpp you wrote, by the way i tried to create irrlicht device in sdl window and it works very well :)
Post Reply