cross-platform

Using multiple platforms in a single project

I'd like to use C#, Java and PHP in an upcoming project. What potential pitfalls should I watch out for? Are there advantages to using multiple platforms for a project? The target development team is people with varying backgrounds working over the internet on this project. Edit: Please be specific and let me know what possible proble...

C++ frontend only compiler (convert C++ to C).

I'm currently managing some C++ code that runs on multiple platforms from a single source tree (Win32, Linux, Verifone CC terminals, MBED and even the Nintendo GBA/DS). However I need to build an app targetted at an embedded platform for which there is no C++ compiler (C only). I remmber that many of the early C++ compilers were only fro...

Platform Identification in WIX 3.0

Hi, I am facing issues when migrating the managed code from x86 to x64 platform. I have a WIX project to create a MSI which will be executed through Bootstrapper. On x86 Platform, files get copied in “Program Files” as per the Project.wxs file. But if the same MSI is installed on x64 Platform through Bootstrapper, all the installation f...

Crosscompiling C++; from Linux to Windows, does it really work?

Hi, I have the source code for some very simple command line programs. I was considering the option of compiling them on a Linux machine (they were deveoped here) so they can be used on Windows. If I am not wrong this is called Cross-compiling. I have never tried it, but reading yesterday some information, it seems to be kind of complic...

I'm looking for a cross-platform Python library that can play MP3 and OGG and support ALSA or similar.

There are several different audio libraries, however, none of them meet my exact needs: - It needs to be cross-platform. - It needs to be able to use the ALSA, PulseAudio or any other common default mixer under Linux. - It needs to be able to autodetect the sample frequency. - It needs to be (fairly) simple in usage, if instead someone c...

Recommendation for C++ wrapper for cross platform dynamic library bindings (basically a lightweight, high performance COM or CORBA) (only in-proc is necessary)

We're developing an application that will have a plug-in "architecture" to allow consumers of the app to provide their own proprietary algorithms. (We will basically have a set of parsers and allow third parties to provide their own as well) The domain space requires very high performance, so out-of-process bindings are not going to wo...

Network protocol object serialization in C++

Hello, I'm writing some C++ code that will have to send data over TCP/IP. I want this code to be portable on Linux/Windows/Osx. Now, as it is the first time I write portable network code, I basically need some simple functions to add to certain objects like: class myclass{ ...member... public: string serialize(){ std::ostringst...

Cross platform c++ with libcurl

Hi, I am a perl developer that has never went into the client side programming of things. I'd like to think that I'm a pretty good developer, except I know that my severe lack of knowledge of the way desktop programming really takes away from my credibility. That said, I really want to get into doing some desktop applications. I want...

Is it possible to write multi-platform program that is not writen in Java

Just curious, is it possible to write a multi-platform program that is not writen in Java. If true, could I do it by compiling two or three different programing languages (for each platform) together so that it would run on different platforms. ...

Mono Resources for Cross Platform Development

Is there a site or repository of information about Cross Platform development in mono? Obviously I know about Moma, and the Cross Platform Guidlines and I am using the Visual Studio Tools to run and debug applications in a Virtual Machine, however since I am migrating an old application I have dozens (if not hundreds) of PInvokes to mig...

Placing a window near the system tray

I am writing a program that needs to set a window just above/below the traybar for gtk. I have tried using the 2 approaches that failed. One was using the gtk_status_icon_position_menu function and placing the window in the point where the user clicks (in the tray bar). The problem is that these solutions work in gnome(Linux) but not in ...

Cross-platform OOP in C++

Of course, I know the best answer is "don't write your own cross-platform code, someone has already done what you need," but I'm doing this as a hobby/learning exercise and not in any paid capacity. Basically, I'm writing a smallish console application in C++, and I'd like to make it cross platform, dealing with things like files, socke...

Is there a way to make a website go full screen (WITH user click)?

Hi all, A client wants me to create a website that can go to fullscreen when the user clicks a "View in Fullscreen" button/link. The solution I've seen posted here and elsewhere: window.open('www.example.com', 'title', 'type=fullWindow, fullscreen, scrollbars=yes'); seems to work spottily across browsers. Is there a better/more comp...

Cross-platform library for generting pure sound with adjustable level of volume/dB written in C or C++

Hi, I'm looking for a Cross-platform library for generting pure sound with adjustable level of power/voltage written in C or C++. It must not be GPL. Please share if you know any. Thanks. ...

Javascript key code =/= char code

Hi! I'm binding on the keydown event with jQuery to allow some specific characters in a textbox. I'm trying to make my code cross browser and platform compliant. My main issue is that I can't find a way to map the received key code to a valid char code, especially for key code coming from the numeric pad (decimal separator, is it a coma...

Cross-Platform Python Notification Library

I'm making a python script that should run in the background and notify a user of changes, and I'd quite like it to work cross-platform. Main problem is, I don't have access to a mac at all, so coding specifically for it could be very difficult. wxPython seems like massive overkill for simple popups, so is there anything with a lighter f...

Tools for Unix <-> Windows C++ development

I am doing some C++ cross development - been doing that for a while on Windows and recently started on Unix. I suppose what I am after is to simplify Unix development experience - I have a local windows box I do development on, and a remote Solaris box which I use to compile and test code on unix environment. What I do now - I develop...

Cross Platform C++ Tool Chain

Hello I am putting together a tool chain on my windows Box for Cross Platform C++ Development. I plan on using Boost.Build for building and Boost::Test for unit testing. I will be using Mercurial for my VCS because I can just throw the repo on my external HD and then pull it to either my windows or linux partition. The main thing sta...

Taking advantage of SSE and other CPU extensions.

Theres are couple of places in my code base where the same operation is repeated a very large number of times for a large data set. In some cases it's taking a considerable time to process these. I believe that using SSE to implement these loops should improve their performance significantly, especially where many operations are carried...

Alternative options for displaying video in Java?

At the moment I use QuickTime for Java to display video in a swing application. However, Apple has deprecated support for QTJava and I was wondering what options other are available right now+ for moving forward? Requirements: Must be cross platform (WIN & OSX). Must be able to support many different video formats. Must be capable of ...