cross-platform

Cross-platform development - Delphi 2011: How to made a Windows-tied library cross-platform?

As perhaps you know already, most probably the next version of Delphi will be cross-platform. Also, here are some polls on the matter. While writing a cross-compiler isn't a thing which interests us very much now, porting a library which was/is Windows-tied to multiple platforms, certainly does. You can think, for example at VCL (Delp...

Cross-platform and language (de)serialization

I'm looking for a way to serialize a bunch of C++ structs in the most convenient way so that the serialization is portable across C++ and Java (at a minimum) and across 32bit/64bit, big/little endian platforms. The structures to be serialized just contain data, i.e. they're pure data objects with no state or behavior. The idea being th...

What's the best cross platform approach (Windows/Mac) to deploy a simple service/daemon (with simple UI)

Hi, I'm getting confused re the range of options for development & deploying some simple code & UI to both Windows & Mac. Can anyone assist re a good direction here. I do like Ruby, however if it makes sense to move away from this (e.g. java, c#) then so be it. Which development option would people suggest for this? REQUIREMENTS ...

Wpf is only internet explorer compatible?

By default any WPF browser application will work only in internet explorer? If the first one is true, is there any addin for firefox for displaying wpf browser applications? ...

Stop execution of my program and go to the Debugger without setting breakpoints (Visual Studio/GCC and C++)

Hi! I've found information about this feature on SO some time ago, but the topic was a duplicate of Hidden Features of Visual Studio (2005-2008)? and I can't find it anymore. I want to use something like this: #ifdef DEBUG #define break_here(condition) if (condition) ... // don't remember, what must be here #else #define break_here(co...

Change link destination based on whether user has mac or PC

Hi Is it possible to change the destination of a link based on whether the user has a mac or a PC using javascript? To give an example: The Apple website allows download of Quicktime but it "knows" whether you are using a mac or a pc and directs you to the relevant page. Background/Reason for doing this: I have built a website for som...

Application to generate installers for Linux, Windows and MacOSX from a single configuration

Here's what I want: Given a set of definitions (preferably in Python) on what files to install where and what post-install script to run, etc.. I would like this program to generate installers for the three major platforms: MSI on Windows dmg on MacOSX Tarball w/ install.sh (and rpm/deb, if possible) on Linux For example, installco...

MinGW - cross compile tool - latest version?

At the MinGW download page you can download the "Cross-Hosted MinGW Build Tool" which is a shell script to build the "MinGW cross-compiler" so that you will be able to compile your programs on "Linux" to the "Windows" target. I have downloaded that script, run it and answered the interactive questions the script has asked me. I had to d...

Development SMTP Server

I need a cross platform (at least windows and mac) development utility that runs as an SMTP server that acts as an SMTP server but will redirect all mail to a single address that's configurable. It would also be helpful if it wrote the contents out to a file or gui. Long ago I configured Apache James to do this but it wasn't that straig...

Cross-platform developement?

I am looking for a solution which would allow me to code for Linux and Windows using C++. On Windows I use Visual Studio (I tried other stuff on Windows but I work with DirectX and as far as I know, it's the best solution). On Linux I use NetBeans (which I like very much). My problem is that I want the project be independent of Visual...

How MonoTouch works?

Hi guys, I would really appreciate it anybody could briefly explain me, what's the general approach to implementing things like MonoTouch? I'm really amazed because it's not the first example I see when people get some platform like Java and make it translate into something like C/Objective-C. I can't really imagine how things like Garb...

On which platforms is thread local storage limited and how much is available?

I was recently made aware that thread local storage is limited on some platforms. For example, the docs for the C++ library boost::thread read: "Note: There is an implementation specific limit to the number of thread specific storage objects that can be created, and this limit may be small." I've been searching to try and find out the ...

Need Help Porting Win32 C++ to Unix

I'm looking for help porting this Windows tool to Unix (Mac/OSX); http://www.oxyron.de/html/netdrive01src.zip First off I'd like to know, if anyone could take a moment to have a quick look at the (small) source code, if it's a reasonably straight-forward task. Secondly, any tips on porting the code would be much appreciated. I've tri...

Cross-platform help viewer with search functionality

I am looking for a help viewer like Windows CHM that basically provides support for adding content in HTML format define Table of Contents decent search It should work on Windows, Mac and Linux. Bonus points for also having support for generating a "plain HTML/javascript" version that can be viewed in any browser (albeit without sea...

How to use cross platform C++ with a WPF C# GUI

I'm currently in a project that need to work both on Mac and Windows. We are using standard portable C++ for all the application logic. However, since we want the app to feel totally native on both platform, the GUI will be written with C#/WPF for Windows and Objective-C/Cocoa for Mac. However, for the windows part, I am wondering what ...

Building GCC cross compiler (from "Linux" to "Windows")

Hello, I want to build "gcc cross-compiler" to compile "c/c++" applications on "Linux" environment but for "Windows" target. I have made this so far: Installed the necessary tools and packages for building GCC listed on "Prerequisites for GCC" page. Downloaded required sources: "gcc-core-4.4.1", "gcc-g++-4.4.1", "binutils-2.19.1", "w...

Is there a non-java, cross platform way to launch the associated application for a certain file type?

First, I found a couple of java specific questions and answers for this. I am looking for more "native", but cross platform solution, using C, C++, some kind of shell scripts, or, in my case, Qt. So the question is, are there standard, cross platform, ways to programmatically open the associated application for certain file types. Or a...

Experiences of Mono web development in OSX

Hey guys I'm a .NET web developer and just bought a new Mac. I'm interested in developing, and debugging .NET in OSX, but I'm not interested in deploying to OSX. Although, in the future, I will be interested in deploying to Linux. What are your experiences with Mono web development in OSX? In particular, how does it compare in terms ...

C++ Cross-Platform High-Resolution Timer

I'm looking to implement a simple timer mechanism in C++. The code should work in Windows and Linux. The resolution should be as precise as possible (at least millisecond accuracy). This will be used to simply track the passage of time, not to implement any kind of event-driven design. What is the best tool to accomplish this? ...

Can SQL Server bcp in a file with Unix line endings?

I'm trying to use the SQL Server bcp utility to import a text file from a samba share. bcp is choking on the Unix line endings. I'm sure I could add an intermediate step, either on Unix or Windows, to change the line endings to Windows-style. But I would prefer to import the files from Unix without modification. Anybody know if there's ...