how to no show the dos windows saying what model is load...

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
undereyes
Posts: 7
Joined: Fri Oct 03, 2003 5:56 pm
Location: Spain
Contact:

how to no show the dos windows saying what model is load...

Post by undereyes »

It's possible to no show the dos windows that write what model, file... is loaded.

Thank you!
I think that I can create a game!
unknown_usr
Posts: 14
Joined: Thu Oct 02, 2003 7:03 pm

Post by unknown_usr »

use WinMain() instead of main() i guess....
undereyes
Posts: 7
Joined: Fri Oct 03, 2003 5:56 pm
Location: Spain
Contact:

Post by undereyes »

no, isn't work, the compiler return:
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I wath that this is possible, because The ReSock Project don't show the window.

Thank you
I think that I can create a game!
[dx/x]=HUNT3R
Posts: 271
Joined: Sat Aug 23, 2003 5:52 pm
Location: Hurricane Central, Florida

Post by [dx/x]=HUNT3R »

You have to create a proper WinMain function and a Callback function for Win32 programming. You can find tutorials on the web.
cyberbobjr
Posts: 64
Joined: Mon Sep 08, 2003 8:21 am
Location: Paris, France

Post by cyberbobjr »

don't use your project in console mode, but in win32 mode, you must use winmain and some options flags for the compiler...
FleshCrawler
Posts: 108
Joined: Fri Aug 22, 2003 1:04 pm
Location: Kerkrade, Netherlands
Contact:

Post by FleshCrawler »

as cyberbobjr said ->

long WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd)

thats what i use :)

it works for me, but i guess u can also use an int
Post Reply