ALright, i dont know if this is where to post it but here it goes.
I am making a p2p file sharing program, an I want ot know if I make the program in MFC (its in c++) if i can make it run off of a linux server?
Printable View
ALright, i dont know if this is where to post it but here it goes.
I am making a p2p file sharing program, an I want ot know if I make the program in MFC (its in c++) if i can make it run off of a linux server?
Unless you are using something like Lindows that emulates a Windows enviroment and its files, then no, I dont think so.
is the linux box running
Wine?
You're unlikely to be able to run it on Unix.
Your best bet is to separate the OS-dependent parts of the code, so you can create separate clients with as much code reuse as possible.
To expand on what parksie said, most MFC stuff can be done (Some times with a little work), using standard C/C++ coding. With some work you could rewrite it to Linux
If you do the interface with GTK, you can build on Windows as well.
A p2p file sharing app would be a good candidate to build on the Mozilla framework, then you get cross-platform for free.
Yes, you're right. That would be a better option -- then you get all the networking as well :)
If I'll ever do a Mozilla-based app it'll be such a thing.
well the linux server is running on ssh2 not X so im trying to figure out how i am going to runa windows based server now. an do it from there.
SSH is just a communications protocol. X is client/server, so you don't have to be sitting at that machine.
All you need is an X server on whatever you're connecting to it with (be it Windows, GNU/Linux, Solaris, Irix, whatever) and you can run X-based programs remotely (of course, they execute on the server).