cross-platform

Cross platform patching

I have a program that I intend to install on Linux and Windows machines. I have it cross-compiling fine (with autotools), but at some point I would like the program to be able to update its binaries. The only ways I can think of doing this are: Give users write access to "C:\Program Files\Foo Program" or "/usr/bin/foo_program". or ...

How can I configure my project to generate platform independent code?

I am writing an application that I would like to release binaries for on Mac, Windows, and Linux. I have code that compiles under Mac and Linux, but under Windows, it does not. This is because of Windows lack of a strcasecmp. I've read a little bit about how I can create some sort of header to wrap my code, but I don't really understand...

how-to do Crossplatform transparent windows in c++?

Hello, I'm woundering how to make a window transparent, not cutout holes or the same transparency overall. Well, just say I wanna slap a PNG-picture of a rose or something and have it blend nicely with stuff in behind and allow stuff behind to redraw and have their changes shine throught the transparent parts of the picture/window. I c...

JAR installer that auto-detects if Java is there and autostarts the application

Hi guys, I need to build an installer that does the following: 1. Installs my jar on the client 2. Auto-detects if JRE is installed (in which case it does not re-install it), otherwise installs it without the user clicking on another button 3. Auto-starts the application when the client is booted 4. Works across Windows, Mac and Linux. A...

Get current time and date

Hello, is there a crossplatform way to get current date and time in c++? Thanks. ...

How can I get mysqldump to preserve the case of table names?

I'm attempting to migrate a database from a windows to a linux host. Thanks! Ashley ...

Is there any MSDN equivalent for Mac OS and Linux?

Hi, I'm familiar to code in Windows environment. For some of our products, users are continuously asking for porting to Linux and Mac. To begin, I need a collection of documentation on the system APIs, how to use them, when to use them etc. documentation. So, is there Is there any MSDN equivalent for Mac OS and Linux? Preferably in a do...

Difference between "\n" and Environment.NewLine

What is the difference between two if any (with respect to .net)? Thanks ...

Cross-platform subprocess with hidden window

I want to open a process in the background and interact with it, but this process should be invisible in both Linux and Windows. In Windows you have to do some stuff with STARTUPINFO, while this isn't valid in Linux: ValueError: startupinfo is only supported on Windows platforms Is there a simpler way than creating a separate Pope...

cross platform building/compiling solutions

Hi All, For C++/Objective-C Mac, Windows, Linux Most robust compiler/build system? There is GCC and MakeFiles. Intel makes Compilers, but they don't do Objective-C right? I have read that Intel built apps are 30% faster in the math and graphics arenas. MinGW is Windows only? LLVM/Clang doesn't seem prime-time ready. I dont know i...

what is cross compiler and cross platform ?

I am bit confused with the terms of cross platform and cross compiler. Let me be first clear about the cross platform. When people talk about cross platform it means the architecture of the CPU, i.e, X86 and X64 ? or the OS i.e windows 32 bit or Windows 64 (server or desktop)? UNIX doesn't have different flavours like 64 bit or 32 bit. W...

Unpacking an executable from within a library in C/C++

I am developing a library that uses one or more helper executable in the course of doing business. My current implementation requires that the user have the helper executable installed on the system in a known location. For the library to function properly the helper app must be in the correct location and be the correct version. I wo...

Cross platform datastore for storing application data?

Our application currently stores bunch of configuraton & application specific data to files on disk. Configuration data is stored in a single .ini file where as application data is distributed across multiple files. The application has grown now and data manipulation using files is becoming a nightmare. We would like to make a switch to ...

Finding the window at a point on screen in java

Is there any cross-platform way to figure out which window is at a certain point on the screen? If there is not, what would be the equivalent function to getWindowAtPoint for linux (X11?) and OS X? ...

How to generate a OS independent path in c++

I have a destination path and a file name as strings and I want to concatenate them with c++. Is there a way to do this and let the program/compiler choose between / and \ for windows or unix systems? ...

Cross Platform Flash Player Embedding

I need to embed the Flash player in a native application (C++) in a cross platform way (at least Windows and Mac OSX). I need to allow the Flash gui to make calls back to the native application to do things that Flash normally can’t do (e.g. write to the file system, talk to devices, loading native image processing libraries, etc). The A...

Sandcastle unified documentation generation for C# and Java projects

I have a set of related components that are basically provide the same functionality for various 'client' environments, like CLR and Java. Currently I'm generating my documentation using Sandcastle for the CLR components and I'm about to start the Java ones. I'd like to keep generating an unified documentation, with consistent look-and-f...

Ruby cross-platform way to write the EOF symbol

Hey, Is there a platform-independent way of writing the EOF symbol to a string in Ruby. In *nix I believe the symbol is ^D, but in Windows is ^Z, that's why I ask. Cheers Pete ...

cross platform settings directory

Hi I am making a jython application that needs a config/settings file (and probably eventually directory) but I want it be stored in the expected/correct directory for each os. ~/.app_name/config in linux c:/documents and Settings/User/app_name ?? in windows. I have found this: http://snipplr.com/view/7354/home-directory-crossos/ b...

Tiny C++ cross-platform GUI toolkit

Which C++ cross-platform GUI toolkit gives smallest footprint with both static and dynamic builds? I don't need a very sophisticated GUI, just basic controls & widgets. Thank you in advance. ...