cross-platform

determine platform Qt application is running on at runtime

Hi all, Is there a (Qt) way to determine the platform a Qt application is running on at runtime? ...

What JVM can be run under Mac OS 7.5?

I have a request for a contracting gig and one of the requirements in the first draft of the specs says the software (a GUI application for end-users) should run on Win 2000 and Mac OS 7.5. I have no idea why they would want to support such ancient systems, but I guess it leaves me with Java as the only option other than raw C, or doesn'...

What's a reasonable version of Windows to support for a new .Net application?

If I develop a .Net application that's going to run on WinXP and Vista, as well as on a modern Mac or Linux under Mono, what are older versions of Windows where I will have to start thinking carefully if I want to support them? Does Windows 2000 for example run .Net and is it capable of any version of the runtime? Usually, older systems ...

Silverlight and C++ or C++ to C# ongoing code conversion?

I am working on a drawing-based product where I want to produce versions for iPhone, desktop OS/X, Windows Tablets, Silveright-based browser, Windows Mobile, and Windows in that order of priority. For GUI portability, the classic answer is to keep the core in C++ and use Cocoa/Objective-C or WPF/C# thin layers. However, Silverlight com...

Detect executable folder from SDL

I am creating a C++ SDL game engine, and it is relevant to know the executable path since images and other resources are not stored within the executable - they are in a separated folder("res/"). Under Linux, I am using a shell script "rungame.sh" that cd's to the executable path and then runs the executable(using then "./" to reference...

Making GCC and Other C++ Compilers Very Strict

I'm working on a large collaborative C++ project that is both developed and run on various flavors of Linux, OS X and Windows. We compile across these platforms with GCC, Visual Studio C++ and the Intel C++ compiler. As more and more people start developing code for the project, we're starting to see weird errors in compilation and runti...

run a web project developed in Java run on both windows and Linux platform

Hi, I have a web project developed in java. I am using the Windows platform and accessing the project from the Windows machine itself. How can I make the project run on a Linux machine? I am using jboss server and deploying the project. Regards ...

Create a cross-platform protocol helper that runs a python script

I'd like to register a protocol handler, like "myapp:", across OS X, Linux, and Windows, so that when someone clicks a url like "myapp://some/params" in a web browser, a python script will be called and passed in those params. Obviously this would require something being installed on each machine to enable it, but just trying to figure ...

Unix commands from C#

Is there an implementation of a Unix shell and commands as a .Net assembly. This could be a wrapper around cygwin, or a standalone built from public domain source. The kind of commands I'd really like to be able to use are wc, tar, cpio, ps, kill, cat, at ... how cool would it be to do this (Pseudo code) usng cygwin ..... Shell mySh...

Text Editor with Scripting...for Linux

For a while now, I have been using UltraEdit on my Windows box. The ability to write scripts with a familiar language (JavaScript) has proved to be extremely useful. The only problem is that I cannot use it on my Linux box at work. Is there a comparable text editor that runs on Linux and has an integrated scripting engine? Not breaki...

Crossplatform threading and GTK#, not working (properly)?

I'm trying to make a crossplatform C# application using C#, mono/GTK# on Linux and .NET/GTK# on Windows, however the startup sequence seems to need to be slightly different under the two platforms: Under Linux: public static void Main (string[] args) { Gdk.Threads.Init (); // etc... Under Windows: public static void Main (st...

Cross platform programming on Windows

Two Questions: Is there any way to write cross platform programs on Microsoft Visual Studio? If there isn't then could I write a C# application on VS2008 and recompile it with MonoDevelop and have it work? ...

How can you check (peek) STDIN for piped data in Perl without using select?

Hi, I'm trying to handle the possibility that that no arguments and no piped data is passed to a Perl script. I'm assuming that if there are no arguments then input is being piped via STDIN. However if the user provides no arguments and does not pipe anything to the script, it will try to get keyboard input. My objective is to provide a...

Why would Java classloading fail on Linux, but succeed on Windows?

I've got a Java web application (using Spring), deployed with Jetty. If I try to run it on a Windows machine everything works as expected, but if I try to run the same code on my Linux machine, it fails like this: [normal startup output] 11:16:39.657 INFO [main] org.mortbay.jetty.servlet.ServletHandler$Context.log>(ServletHandler.java...

Cross-platform gui toolkit for deploying Python applications

Building on: http://www.reddit.com/r/Python/comments/7v5ra/whats_your_favorite_gui_toolkit_and_why/ Merits: 1 - ease of design / integration - learning curve 2 - support / availability for *nix, Windows, Mac, extra points for native l&f, support for mobile or web 3 - pythonic API 4 - quality of documentation - I want to do something...

Deploying Mono applications to Windows

What difficulty would be encountered in deploying a Mono-based application to Windows? Does the Mono runtime have to be installed along with the application? Would this be an inconvenience for the end user? Edit: The idea is to deploy a cross-platform application, thus Mono as a choice. ...

Cross-Compiling JRE/JDK

Have somebody experiences with cross-compiling the sun-java5 source package (debian) from i386/i586 to the hppa architecture? Or know a source for java for PA-RISC? I've found only the Package for HP-UX. Kaffe/gcj are not able to run my third-party java application ...

Which embedded database capable of 100 million records has the best C API

I'm looking for a cross-platform database engine that can handle databases up hundreds of millions of records without severe degradation in query performance. It needs to have a C or C++ API which will allow easy, fast construction of records and parsing returned data. Highly discouraged are products where data has to be translated to a...

Window message procedures in Linux vs Windows

In Windows when you create a window, you must define a (c++) LRESULT CALLBACK message_proc(HWND Handle, UINT Message, WPARAM WParam, LPARAM LParam); to handle all the messages sent from the OS to the window, like keypresses and such. Im looking to do some reading on how the same system works in Linux. Maybe it is because I fall a bit...

Qt Jambi vs SWT for cross-platform GUI development

I'm currently involved in a project developing applications primarily for Linux (Fedora 10). However, it might be the case later on that we will have to port these applications to Mac OS X and Windows and we don't want to be caught out by choosing the wrong GUI toolkit.* For a variety of legacy reasons we are locked into using Java. We ...