Cross platform application

Cross platform application

Post by J?rgen Bes » Thu, 17 Jan 2002 18:38:37



I did like to develop a cross platform application for Linux + Windows.
I'm searching for a development tool. I gladly would hear your advice.

My application basically will have the following functionality:
- GUI with edit boxes etc.
- Showing pictures and zooming in on marked up parts of these pictures
- Storing data (texts and pictures) at a owned ftp site.
- The application is simple and will have a simple repetitive structure.

I thought about the combination of Delphi PE and Kylix OE, because I did
programming in Delphi before. I only didn't manage to make a cross
platform application "Hello World" with only one button. May be the
personal and open edition blocks this. I know something, but I'm not a
extreme experienced programmer. I'll only gain experience by doing.

I've no budget or sources available, it's just a free time project.

Any suggestions are welcome.

Thanks,

J?rgen

 
 
 

Cross platform application

Post by Josef M?ller » Thu, 17 Jan 2002 19:07:31



> I did like to develop a cross platform application for Linux + Windows.
> I'm searching for a development tool. I gladly would hear your advice.

> My application basically will have the following functionality:
> - GUI with edit boxes etc.
> - Showing pictures and zooming in on marked up parts of these pictures
> - Storing data (texts and pictures) at a owned ftp site.
> - The application is simple and will have a simple repetitive structure.

> I thought about the combination of Delphi PE and Kylix OE, because I did
> programming in Delphi before. I only didn't manage to make a cross
> platform application "Hello World" with only one button. May be the
> personal and open edition blocks this. I know something, but I'm not a
> extreme experienced programmer. I'll only gain experience by doing.

> I've no budget or sources available, it's just a free time project.

> Any suggestions are welcome.

qt?
I haven't tried it, though, but the intent of it is to be
cross-platform.

--
Josef M?llers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize
                                                -- T.  Pratchett

 
 
 

Cross platform application

Post by Adrian Davi » Thu, 17 Jan 2002 19:22:16


Quote:>I did like to develop a cross platform application for Linux + Windows.
>I'm searching for a development tool. I gladly would hear your advice.
>My application basically will have the following functionality:
>- GUI with edit boxes etc.
>- Showing pictures and zooming in on marked up parts of these pictures
>- Storing data (texts and pictures) at a owned ftp site.
>- The application is simple and will have a simple repetitive structure.

Take a look at TCL/TK (http://tcl.activestate.com).

Regards,
   =Adrian=

 
 
 

Cross platform application

Post by Michael Shigori » Thu, 17 Jan 2002 20:12:42


JB> I'm searching for a development tool. I gladly would hear your advice.
Look at wxWindows; Tcl/Tk, Python/Tk.  Maybe you'll find one of these
suitable.  DEs are also available (I tend to use plain vim and tcl/tk tho).

JB> I thought about the combination of Delphi PE and Kylix OE, because I did
...not yet look at http://freshmeat.net/articles/view/369/ ?
:(

--

  ------ http://visa.chem.univ.kiev.ua/~mike/

 
 
 

Cross platform application

Post by J?rgen Bes » Sat, 19 Jan 2002 02:31:31


Thanks for the response so fare.

Yesterday I tried Gtk, there has been made a combined effort to make Gtk
and Gimp also available on Windows. I was  trying to use the windows Gtk
version for the purpose. I think that solution is not the easiest, but I
like the fact that I can compile the application to binaries. I didn't
get it work, or perhaps I don't understand what is and what isn't
available on Windows in Gtk. My Gtk samples all start with:

#include <gnome.h>

but that isn't available on a Windows Gtk version of course, what to do
isn't clear for me yet.

Any further suggestions are of course welcome. If I get something work I
could make a mini-howto so others find it easier.

J?rgen.

 
 
 

Cross platform application

Post by Loren Lan » Mon, 21 Jan 2002 17:21:56



> Thanks for the response so fare.

> Yesterday I tried Gtk, there has been made a combined effort to make Gtk
> and Gimp also available on Windows. I was  trying to use the windows Gtk
> version for the purpose. I think that solution is not the easiest, but I
> like the fact that I can compile the application to binaries. I didn't
> get it work, or perhaps I don't understand what is and what isn't
> available on Windows in Gtk. My Gtk samples all start with:

> #include <gnome.h>

> but that isn't available on a Windows Gtk version of course, what to do
> isn't clear for me yet.

> Any further suggestions are of course welcome. If I get something work I
> could make a mini-howto so others find it easier.

I've designed a few cross platform gui apps for linux/windoze using
GTK+  The header file to use is <gtk/gtk.h>.  Gnome.h is only for
the gnome extensions/features.  I use cygwin for the compiler since
it provides a nice unix emulation layer and I don't care about the
speed much.

Quote:

> J?rgen.

--
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.
 
 
 

Cross platform application

Post by Sam Denn » Sat, 19 Jan 2002 10:07:33



> #include <gnome.h>

> but that isn't available on a Windows Gtk version of course, what to do
> isn't clear for me yet.

#include <gtk/gtk.h> is the norm. (For both platforms, if you're not using
Gnome, don't require it.)
 
 
 

Cross platform application

Post by AndrĂ© P?nit » Thu, 24 Jan 2002 01:36:55



> I did like to develop a cross platform application for Linux + Windows.
> I'm searching for a development tool. I gladly would hear your advice.

> My application basically will have the following functionality:
> - GUI with edit boxes etc.
> - Showing pictures and zooming in on marked up parts of these pictures
> - Storing data (texts and pictures) at a owned ftp site.
> - The application is simple and will have a simple repetitive structure.

C/C++ for the core and Tcl/Tk for the gui. Embedded scripting comes for
free. Works rather nicely for me.

Andre'

--

 
 
 

Cross platform application

Post by William Byr » Thu, 24 Jan 2002 05:00:15


Check out drag-n-drop Tcl components for Delphi (and eventually Kylix) at:
http://sourceforge.net/projects/tslc
 
 
 

Cross platform application

Post by Christopher Brown » Thu, 24 Jan 2002 09:40:00




> Check out drag-n-drop Tcl components for Delphi (and eventually
> Kylix) at: http://sourceforge.net/projects/tslc

I thought SourceForge was at least _for_ use with free software, even
if it was no longer _itself_ free software...  Evidently that must
have changed...
--

http://www3.sympatico.ca/cbbrowne/linux.html
"If you  pick up a starving dog  and make him prosperous,  he will not
bite you; that  is the principal difference between a  dog and a man."
-- Mark Twain
 
 
 

Cross platform application

Post by William Byr » Fri, 25 Jan 2002 12:31:07


Quote:> I thought SourceForge was at least _for_ use with free software, even
> if it was no longer _itself_ free software...  Evidently that must
> have changed...

I'm not sure what you mean; however, if the concern is that the
components are not free, I'm happy to clear up any misunderstanding
and state that they are. As a matter of fact, I've posted all the
source code for anyone to consume - both private and commercial. It's
licensed under the GNU LGPL.

I make a living designing and producing software and fully appreciate
the costs that is often attached to the manufacturing of software. On
the other hand, I've been a beneficiary of the wisdom and efforts that
pervade the open source community and hope to reciprocate by making
useful Tcl Delphi components available, fully sourced, to anyone who
wishes to use em'.

 
 
 

1. Question RE: developing cross-platform applications

Greetings, Master Coders --

I'm about to embark on a software development project in which I will be
developing an application which I want to run on several different
operating platforms (initially just *NIX variants and MS-Windows, but
eventually others -- maybe BeOs; MacOS, etc.).  It will be a network
service (think POP mail or LDAP server) so user interface issues aren't
my main concern.  What I am worried about are what I would call the
"basics": endianness, word size, how to do basic disk i/o, etc.

So as a "for instance", something as simple as an integer variable means
very different things on various systems.  Is my int a 32-bit int or a
64-bit int?  Is it big-endian, or little-endian? The answer depends on
your platform.  I obviously want to write the core code for my app in
such a way that I can get exactly what I need on all platforms without
actually rewriting the entire application for each platform.

Now I could probably work out some system of #ifdef's and #define's to
do a lot of this, but if somebody has worked a lot of this out I'd
rather not re-invent the wheel.

I am wondering if anybody out there could recommend a book or article or
web page or something that gives practical, concrete solutions to these
problems.

Oh, and before somebody suggests I just write the thing in Java -- I've
considered that, but for various reasons I'm sticking with C/C++.

Thanks in advance,

- Cedric

2. Shell script with here-document and lftp

3. Which API is the best for developing cross platform C++ applications

4. Linux RH5.0 install question! SCSI...

5. Cross-Platform Wav C library?

6. Look for talk code unix

7. cross platform file_updates program

8. Don't use Motif for free sw: it now requires runtime royalties!

9. wxWindows 2.4.1 for cross-platform GUI apps

10. Announce: lib3d-0.1.7 - Fast, Free, Cross-platform 3d

11. Cross-platform Calendar Manager?

12. REVOLUTION CROSS-PLATFORM IDE LAUNCHED

13. cross process boundary variable, similar to Event on NT platform