opening and talking to other exe

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
mepatuhoo
Posts: 42
Joined: Mon Dec 19, 2005 2:16 am

opening and talking to other exe

Post by mepatuhoo »

ok so this is what i think i should be doing. i have a starting window and i have a button on it that i want to have open a new window(without closing the other ) and you do some stuff like change settings in the new window then at the end you can close it or save and close and the save and close i need to talk to a another computer and change or creat new settings but that ill get into latter i just want to work on when you press the button can i get it to open another window that is separet from the start exe or should i do somthing else and how should i do this.
Conquistador
Posts: 340
Joined: Wed Sep 28, 2005 4:38 pm
Location: Canada, Eh!

Post by Conquistador »

Check out some windows programming tutorials, once you know how a windows app works, you can do just about anything. Beware though, it's not for the faint-of-heart!

http://www.winprog.org

If you want to use the Irrlicht GUI for this, it's simple just take a look at some of the sample code for the mesh viewer.
Royal Hamilton Light Infantry - http://www.rhli.ca
Paris/Port Dover Pipes'n Drums - http://www.parisdover.ca
mepatuhoo
Posts: 42
Joined: Mon Dec 19, 2005 2:16 am

Post by mepatuhoo »

but the tutorials dont show how to talk to other exe is there new tutorials out that i may have not seen yet?
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

u don't have to just initialize a new device and u got a new window which can be closed......
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
mepatuhoo
Posts: 42
Joined: Mon Dec 19, 2005 2:16 am

Post by mepatuhoo »

how can i do that i tryed looking at the api and i dont get it.
dhenton9000
Posts: 395
Joined: Fri Apr 08, 2005 8:46 pm

Post by dhenton9000 »

The YASS project just posted source and in that program they have windows that are in game menus, they might be a sample of what you are looking for.
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

just use a class like

class Window
{
protected:
//The device and eventreceiver and everything goes here
public:
Window()
{
//Build the Device and than run the window
run();
}
void run()
{
//The while for this window goes here
}
};
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Post Reply