Some questions...

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
Magus_Stragus
Posts: 86
Joined: Wed Aug 29, 2007 10:45 pm

Some questions...

Post by Magus_Stragus »

Hey there. Again, I come with more questions.
1. I need to create an Internet application (this is, like a server accessible via Internet). Is there a library for this that also give me support with Irrlicht?
2. Can Irrlicht export to MS Excel datasheets?
3. More than am Irrlicht question, this is a general programming question. How do I do to open an application and run it using another program to do it?

Thanks in advance for the help.
Proud member of the Online Campaign for Real English. If you believe in capital letters, correct spelling and good sentence structure then copy this into your signature.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

1) there are various network libraries you can use, check out raknet for one.

2) Probably, you just need to know what the excel format is (how the file is arranged etc) and write out a file in that format, you can do that from any application, C++ or otherwise. The hard bit could be finding out how excel files are structured... that might not be freely available information.

3) No idea about this one but i'm sure goole will tell you :P
Image Image Image
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Re: Some questions...

Post by rogerborg »

Magus_Stragus wrote:Hey there. Again, I come with more questions.
1. I need to create an Internet application (this is, like a server accessible via Internet). Is there a library for this that also give me support with Irrlicht?
There's an Irrlicht specific network library called IrrNet that might suit your purposes.

If you're looking for a general purpose network library, then I'd recommend Raknet. It will have a steeper learning curve than IrrNet to get a basic app running (since it's not tailored to Irrlicht), but is more fully featured. I'd go with Raknet, since deciding what data to send and when to send it is a far bigger problem than simply packing some floats into a network packet.

Magus_Stragus wrote:2. Can Irrlicht export to MS Excel datasheets?
MS Excel can open Comma Separated Values files, which are trivially easy to create from any data using fprintf(), or a library.

Magus_Stragus wrote:3. More than am Irrlicht question, this is a general programming question. How do I do to open an application and run it using another program to do it?
The C stdlib system() call can be used to run any arbitrary application.

There are also platform dependent methods. On MS Windows, you can use CreateProcess(), for example.
Last edited by rogerborg on Wed Jun 04, 2008 2:31 pm, edited 1 time in total.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

JP wrote:Probably, you just need to know what the excel format is
Heeeehahahaahah, "just". Welcome to my private hell. ;)
JP wrote:that might not be freely available information.
Astonishingly, it is available, but you'll need to pass a sanity check before reading it. Also, the specs are more... guidelines... than rules. Unless you really need to write out an .xls binary file, then it's CSV for the win all the way.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

rogerborg wrote:Welcome to my private hell. ;)
Cheers! Mine's a Bulmers!
Image Image Image
pelonzudo
Posts: 20
Joined: Wed May 07, 2008 11:14 am

Post by pelonzudo »

1.- Internet application? What do you mean? A generic client/server or maybe a client that conect to webservices or...? For generic you should try Racknet

2.- MS Excel: Comma/tab separated values, XML, Apache POI or try looking for info about "spreadsheet ML"
Magus_Stragus
Posts: 86
Joined: Wed Aug 29, 2007 10:45 pm

Post by Magus_Stragus »

Thanks for all the help. I'll try out RakNet, and I will also try to do the exporting using commas and fprint.
Proud member of the Online Campaign for Real English. If you believe in capital letters, correct spelling and good sentence structure then copy this into your signature.
Post Reply