cross-platform

Eclipse-CDT: Automatic Path Discovery when cross-compiling for Linux under Windows

I'm using Eclipse-CDT to develop and compile projects for Linux. As host both Linux or Windows may be used. The project is created as Makefile project with a special build command, so I changed the build-command from make to our special one and the "Build" and "Clean" commandline approbriately. The build command uses a gcc from a direct...

C++ cross platform code

Hi, We our going to start a new project in our small team: It's a library which will be used by our other projects (in Linux and Windows). It's not platform dependent logically (it's not using any system calls or anything like that). It has to be compiled on various platforms (including Windows and Linux at least). Unfortunatel...

App development for both smartphone and website?

Hi all, I've been looking at mobile development frameworks including Rhodes, Titanium, and PhoneGap. As a large part of the application we're developing will also be integrated on the web (a game), we'd love to re-use code so as to not reinvent the wheel. Is there a best way to accomplish this? Is there a framework out there with whi...

How can I most effectively share code between C and C# (both Mono and Silverlight)

Our desktop application consists of a Mono/.NET 3.5 back end that communicates via USB with a variety of devices and a Silverlight front end that communicates with the back end via sockets. The firmware for the devices is developed in-house with C. To accelerate our development process and reduce bugs, we would like to share code betwe...

Need an open mobile platform (SW+HW) for extensive experimentation

Hey guys, I'm building a middleware that sits between a mobile phone and other remote systems to provide a generic service thru a thin software layer on the device/remote systems. Prior to choosing a particular mobile platform (OS + hardware) to use, I wanted to see my options as I don't want to be tied to any particular system like Andr...

What belongs in an educational tool to demonstrate the unwarranted assumptions people make in C/C++?

I'd like to prepare a little educational tool for SO which should help beginners (and intermediate) programmers to recognize and challenge their unwarranted assumptions in C, C++ and their platforms. Examples: "integers wrap around" "everyone has ASCII" "I can store a function pointer in a void*" I figured that a small test program...

Determine input from different devices

My PC has two devices working like keyboard, the normal keyboard and a HID (Human Interface Device) input device (it's a remote control). I want separate the input from keyboard and from remote, capturing only the remote control. How can I write a program in C/C++ to do this task? It's not a easy task because this program is operating ...

How to check if running in Cygwin, Mac or Linux?

I have a shell script that is used both on Windows/Cygwin and Mac and Linux. It needs slightly different variables for each versions. How can a shell/bash script detect whether it is running in Cygwin, on a Mac or in Linux? ...

why should I use java with php

I came across open-source project PHP/javaBridge for connecting php application with java. But why should I use java with php? Is there any specific advantage for this? Thanks, Robert ...

Creating a cross platform installer in Linux

Hi How to create installer of say file which is swf and html and this html has to be created a short cut on the linux desktop . Is there any software that will solve my problem. Thanks ...

Appeal of OS X for *nix developers?

This question is for experienced Unix/Linux developers. If you have found that you like Mac OS X better than *nix as a development platform, why is that? I know that hardware configuration is more convenient and graphics are generally more polished, but I'm not referring to those things. I'm asking specifically about functionality rela...

Best Cross Platform Technology for Editing and Viewing Rich Text

I am designing an application that has one requirement of enabling the user to edit and view rich text content. I am not talking about Microsoft Word like editing but more something along the lines of the RichTextControl on Windows or the various Javscript BBCode Editors. The ability to embed images would be an advantage though. The pl...

How to embed data in an application

I want to make an application, but the application will be using icons (bitmaps) for some of the menu buttons and other stuff. I want to keep my application as one simple, single standalone exe file which means I will somehow have to embed all of the icons into the application (EXE on windows) so I can load the bitmaps without having any...

Embeddable Cross-Platform Web Browser?

I'm wondering if there is a Web Browser that I can embed in my Applications and that is cross-Platform (Windows, OS X, Linux)? I'm undecided about the programming language, but I guess I'll have to go the C++ route (in which case I'd likely choose Qt as a GUI Framework) unless something for .net/mono or Java exists? Doesn't need to be ...

Defining path to module's configuration files

A Python module I'm developing has a master configuration file in /path/to/module/conf.conf. The /path/to/module/ depends on the platform (for instance, /Users/me/module in OS X, /home/me/module in Linux, etc). Currently I define the /path/to/module in __init__.py, where I use logic: if sys.platform == 'darwin': ROOT = '/Users/me/modu...

Is there any cross-platform GUI Toolkit which does not follow the one source to rule them all concept?

After a long evaluation period of mainstream toolkits Qt, WxWidget, GTK i came to the conclusion that it does not make sense to religiously equalize the different platform. Now more then ever before. In the days before Java portability meant, that platform dependent code was located in known places and should be small but not none. No w...

Cross-Platform Single-Instance IDE Setup

I like to carry software around with me on a USB flash drive. I also like to work in both Windows and Linux. Finally, I like to develop software using powerful tools. Bringing these three things together, I want to be able to carry an IDE around with me. My favorite choice is Eclipse. So, I tried to get an Eclipse install working on...

XML for User Interface Definition

I'm looking for information to choose a XML for User Interface Definition to build UI in new project. The project's objective is running in both web and desktop environments and support cross-platform. Therefore I focus on XUL and XForms but I'm not familiar with the XForms. Please give me some advices, what are cons and pros and the fut...

How to setup visual studio for cross platform c++ development

After some time mainly .net development, i need to work in c++ in a cross platform manner. I don't want to give up visual studio, so my hope was that it is possible to use visual studio and the windows target as a testbuild, and then every once in a while through means of a vm test the code on linux or mac. Does anyone have experience ...

Encryption across the popular programming languages.

I have to implement something similar to PayPal IPN / Return URL. In my scenario , PayPal Gateway => My Server && Online Store => My Customer I have to push a very small piece of information through the Return URL in an encrypted format. I would like to generate something like Public Key and Private Key for each customer, and give the P...