multi-platform

Get and set Num/Caps/Scroll-lock status in Mono C#

Is thyere a way in Mono.Net to get and set the Num/Caps/Scroll-lock status platform independent (Linux and Windows)? Thanks in advance. ...

Bash alias to Python script -- is it possible?

The particular alias I'm looking to "class up" into a Python script happens to be one that makes use of the cUrl -o (output to file) option. I suppose I could as easily turn it into a BASH function, but someone advised me that I could avoid the quirks and pitfalls of the different versions and "flavors" of BASH by taking my ideas and mak...

OpenGL Game development for the Desktop / Platform issues

Does anyone have experience writing professional OpenGL games on Windows? For the Mac, due to apple's control, the OS seems quite "uniform". For windows, due to different hardware, different drivers installed, etc ... the hardware base seems to have many many different configurations. In theory, OpenGL provides a API that abstracts all ...

What C++ library to use to write a cross-platform service/daemon?

I wonder what library would ease the development of a cross-platform service/daemon ? (C/C++) I'm targeting: Windows, Linux and OS X. Requirements: network operations and serial port communication. Also it would be nice to have a basic sample service application. ...

Qt as a true multi-platform dev-env

Inspired by the maturity problems I am facing porting on Mono Mac & Linux. I am investigating the use of Qt as an alternative. I am curious to hear about your favorite Qt experiences, tips or lesser known but useful features you know of. Please, include only one experience per answer. ...

Unity in C# for Platform Specific Implementations

My program has heavy interaction with the operating system through Win32API functions. Now I want to migrate my program to run under Mono under Linux (No wine), and this requires different implementations to the interaction with the operating system. I started designing a code that can have different implementation for different platfor...

What library to choose to build a user interface for a C++ software that uses SDL

Dear all, I have a simulation software (C++) that runs on the command line. It is platform independent (currently compiling and running on Windows, MacOS X and Linux). When the simulation ends, I visualize the result with SDL; it is a very basic 2d view, mainly color squares next to each other. I would like to have a user interface o...

How to port a simple application (which uses only standard libc) to iPhone OS ?

There is a simple application written in C, which includes only standard C library functions (from stdio, stdlib, etc.) and Makefile+GCC to build it. Now, I wanna port it to iPhone OS for iPhone/iPads. Will it be seamless or are there any possible incompatibility issues? ...

How to use SSE with both Windows compiler and GCC compiler?

I have to optimize a piece of code using SSE extensions. My target platforms are Windows and Linux, so I build my application using MS compiler (VStudio) and GCC compiler. What approach does exist to involve SSE? I can find a lot of examples how to use SSE with GCC, but they seem to be incompatible to be used with MS compiler. Does exis...

Cross platform desktop application

I would like to develop a cross platform application, i'm not sure which is best to use for a desktop application Microsoft Silverlight Adobe Air Java? (don't want to do this) Firefox Add-On? ...

How to go about a platform independent E-Book Reader in C/C++?

Hi, I'm trying to develop an ebook reader(for mobile devices) which is platform independent. Currently my focus is epub only. As a proof of concept, we were able to make a basic epub reader for android platform, using the functionalities provided by the platform itself(using webview, Xml Parser, Unzipper etc). But now we want to make i...

prefer windows or unix line ending for code?

I writing code that should compiled and run on both Windows and unix like Linux. I know about difference between line endings, but question is which to prefer for my code? Does it matter? I want it to be consistent - say all my code uses LF only, or is it better CRLF only? Are there critaria for comparing? If it matters mostly I care fo...

Adding new toolchain support to Visual Studio

I'm looking to add support for a non-Windows platform for Visual Studio 2008. It would need to build C++ using a non-Microsoft toolchain (essentially a customised gcc). I know the easy way is to use a Makefile project, but I'd at least like to explore adding support for a new toolchain directly to VS. I know it is possible; MS do it, ...

How can I determine in R what platform I'm running on?

How can an R script determine what platform it's running on? I'm using R 2.10.1, sometimes on Windows, sometimes on Linux. I would prefer a built-in function over filesystem taxonomy. I've already searched the index of the base package for anything with "os" or "platform" in the description — no dice there, alas. ...

what should i use instead of Directory.SetCurrentDirecory?

Hi, i have a multi environment program that runs on windows ce machines, regular pc and windows mobile. I am using a database and files. because of the windows CE i need to use the Directory.GetCurrentDirectory() func before the file use and then reset the current directory (using the Directory.SetCurrentDirectory() func) back to the old...