Password,ico,ect.

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.
jonasrf
Posts: 25
Joined: Fri Jan 13, 2006 6:18 am
Contact:

Password,ico,ect.

Post by jonasrf »

1.Can anyone tell me how to do password box's? Show me an example of how to use one.

2.Can I get rid of the dos window and have everything logged to a file?

3.Put icon at top of gui apps?

1's most important.

thanks ahead of time
Conquistador
Posts: 340
Joined: Wed Sep 28, 2005 4:38 pm
Location: Canada, Eh!

Post by Conquistador »

1. Do a search in the FAQ and Project Announcements forum for some Irrlicht extensions, I'm sure someone has created the password extension, I don't remember the username, though.

2. Do a search in the FAQ forum

3. Irrlicht 0.14 will automatically put an icon in the window if there is an icon in the executable directory with the name irr.ico, check the change log for confirmation on that, though.
Royal Hamilton Light Infantry - http://www.rhli.ca
Paris/Port Dover Pipes'n Drums - http://www.parisdover.ca
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Yes, I did the password edit box !!! ;)
Have a look at my site...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
jonasrf
Posts: 25
Joined: Fri Jan 13, 2006 6:18 am
Contact:

Post by jonasrf »

Yes I did! but I don't understand the language its in though so I'm not sure were to click to download it.[edit=never mind I got it]

I'll try the icon thing
and I'll search the faq
thanks
jonasrf
Posts: 25
Joined: Fri Jan 13, 2006 6:18 am
Contact:

Post by jonasrf »

I Got the ico working. Haven't found how to remove the dos box. Anyone have any links for it in the faq?
luckymutt
Posts: 453
Joined: Sun Mar 06, 2005 11:56 pm
Location: C-Ville

Post by luckymutt »

Are you telling me that you did a search for "log" or "logger" and didn't find *ANYTHING*???
like on the first results page?
Try it again...maybe you mispelled it.
nomad
Posts: 53
Joined: Thu Jan 05, 2006 12:35 pm
Location: Wales

Post by nomad »

To get rid of the DOS window, have you tried using WINMAIN as the application entry point instead of main()?

i.e.

Code: Select all

#include<windows.h>

INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
You may also need to change your compiler settings, something like /subsystem:windows instead of /subsystem:console (Visual C++)

You can output the log text to a file by using the EET_LOG_TEXT_EVENT event, there's some sample code in the FAQ forum here:
http://irrlicht.sourceforge.net/phpBB2/ ... vent#58331


[/list]
jonasrf
Posts: 25
Joined: Fri Jan 13, 2006 6:18 am
Contact:

Post by jonasrf »

no I had not tried that. So I use that instead of just main and it will remove the dos window.

I'll try it and the log code.
jonasrf
Posts: 25
Joined: Fri Jan 13, 2006 6:18 am
Contact:

Post by jonasrf »

I tried that but it wouldn't work.
TheRLG
Posts: 372
Joined: Thu Oct 07, 2004 11:20 pm

Post by TheRLG »

What compiler IDE are you using? I'm not sure you mean the DOS window, maybe just the console window, in which case you can turn that off in the compiler settings.
jonasrf
Posts: 25
Joined: Fri Jan 13, 2006 6:18 am
Contact:

Post by jonasrf »

yea that's what I'm talking about is the console window aka dos window.

I'm using dev-cpp.
killzone721

Post by killzone721 »

I think you mean that when u compile ur program u don't wan the dos console showing up, which oftem says stuff like loding this.. and loding that.

It that is ur problem then simply change your project settings to windows app instead of dos console.

How do it:

when u start a new project, pick the windows app option instead of dos console..

HOPE THIS HELPS
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

With dev-cpp is real easy to get rid of the dos window.

It's posted in the faq forum somewhere.

open dev-cpp
open your project
click project (in the nav bar)
project options
compiler
linker
Then, look down the options.
Find "Do not create console window".
click "No" and change it to "yes" and it won't make the dos window.
click ok and you are done.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
jonasrf
Posts: 25
Joined: Fri Jan 13, 2006 6:18 am
Contact:

Post by jonasrf »

Hey thanks.

killzone721 I'm talking about the dos window that comes up when I run my application. I could care less if it showed one while it compiled.

So by changing that option it will remove the dos window that comes up when I run my program.
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

So by changing that option it will remove the dos window that comes up when I run my program.
Yes.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
Post Reply