cross-platform

Detecting CPU capability without assembly

I've been looking at ways to determine the CPU, and its capabilities (eg SEE,SSE2,etc). However all the ways I've found involved assembly code using the cpuid instruction. Given the differing ways of doing assembly in c/c++ between compilers and even targets (no inline assembly for 64bit targets under VC), id rather avoid that. Is ther...

Good, cross-platform software update libraries/tools?

Does anyone have experience with a library or tool suite that helps an ISV deliver software updates of shipped products? We ship software that runs on OS X, Linux, and Windows. We have partial solutions that are platform-specific for each platform, but we would like to have a single, unified system for pushing out software updates to our...

Given a path, how to determine if its absolute/relative in Ruby ?

I am working on writing a rake build scrip which will work cross platform ( Mac OSX, Linux , Windows ). The build script will be consumed by a CI server [1] I want the logic of my script to be as follows: If the path is determined to be relative, make it absolute by making *output_path = FOO_HOME + user_supplied_relative_path* If th...

Best way to access data stored in relational files (not DB2) on an AS400, using .NET?

We have need to connect to an AS/400 from .NET (C#) and access (read and write) data. The issue is the data is stored in relational files on the mainframe, not in a DB2 database. What is the best way to accomplish this? I would love to use an ADO.NET Entity Framework type solution, but I believe the compatible data providers only work ...

Using Qt in a pre-existing x-platform project?

I have an existing cross platform project that runs on Mac, Linux and Windows. Now, I want to add a 'native' UI to it - the ability to show some popup windows (to request user credentials) and perhaps FileOpen dialogs. By native I mean I want to use the systems build in file-open dialog - so on the Mac the mac file finder is shown and ...

How to cross compile qt application for different platforms.

How can I cross-compile my application on Qt. As for each project I need two version 1). Which runs on computer on Qvfb & i386 Architecture 2). Which runs on device with Linux Framebuffer & ARM Architecture I have already compiled Qt for device as well as for Qvfb. I am able to run examples on both platforms, But How can I cross-co...

Registering a URL protocol handler in a multiple platforms.

I an wanting to create a Java application that is installed on multiple platforms (Windows,Mac OS, Linux) as a part of this install I wish to register a URL protocol handler, so that my app loads when links are clicked. i.e. I want something like this: myprotocol://example.com Is there any sort of consolidated way of doing this? Or som...

windows to mac via bonjour

Hello, We have an issue with Bonjour on Windows. Our requirement is to transfer files from one machine to another with our app which uses Bonjour. While the transfer has been working just fine between Mac to Mac, it doesn't between a Mac and a Windows machine. Please note that there is no issue in the discovery of Windows Machine (which...

Cross-platform C++ command line utility

I need to develop a Windows/Linux command line utility. The utility will talk to middleware that has a standard API on both platforms. I have done some cross-platform development before, on FreeBSD/Linux, which was considerably easier - and I had people in the group with experience that I could talk to. At this point there is no one...

Cross-platform mobile framework that can access call logs

I've come across a few suggestions of "develop-once, deploy anywhere" mobile frameworks from other SO questions: http://www.mosync.com http://rhomobile.com http://phonegap.com I was wondering if there are other alternatives to these mobile frameworks. None of them have the ability to access call logs or hook into a phone's call events ...

What language is used when developing apps for multiple platforms?

I just caught one of Google's commercials for Chrome where at the end they mention that it runs on Linux, Mac, and PC. So I started wondering how they are able to develop a program that can run on multiple platforms like that? I have experience with Java, and .Net but only on a windows machine. Java is by design portable, but I wouldn't ...

Is it better to use `#ifdef` or inheritance for cross-compiling?

To follow from my previous question about virtual and multiple inheritance (in a cross platform scenario) - after reading some answers, it has occurred to me that I could simplify my model by keeping the server and client classes, and replacing the platform specific classes with #ifdefs (which is what I was going to do originally). Will...

a quasi-raskinesque zoomable, mostly text interface + 3d, cross platform and open; where do i start? (opengl?)

hi everyone, in this browser and bitmap graphics dominated world - after decades of macintosh-ish richly decorated windows and pretty components - I'm looking for a way to render fixed size character text, draw an extremely simplified "gui" onto 3d panels that can be zoomed and interactively resized making the content tiny and not wrapp...

Is there a Linux equivalent of Windows' "resource files"?

I have a C library, which I build as a shared object for Linux and a DLL for Windows with MinGW32. The API depends on a couple of data files (statistical models) which I'd really like to roll in with the SO/DLL so that deployment is just one file. It looks like I can achieve this for Windows with a "resource file" compiled with windres,...

Strategy for cross-language (java and c#) object serialization

I'm working on a project where I'll need to serialize some data in a java 6 app and deserialize it a c# 2.0 app. Is there a strategy or something already in existence I can look at that would allow me to do this with these two languages? I'm guessing they both support XML serialization but I really need it to be binary serialized. ...

things that prevent cross-platformness your java web application

are there any things that once can do ignorantly that can prevent a java web application from being cross platform? (windows/linux/mac) Tools I am planning to use are java/spring framework/hibernate ...

Are there any Java kernel/desktop applications?

On Windows/Linux platform,I as a common computer user,could not nearly find any software written in Java. The two operating system(Windows and Linux) are written with C. The two web browsers(IE and firefox) are written with C++. The two web server(IIS and Apache) are written with C++. Most database management system are written with C/...

Cross-platform compiling of a Qt application

I have written a C++ application that uses the Qt framework. I would like to make this application available on different platforms. Since I use Linux, I have no problems compiling the code for Linux. The questions is: Can I compile my code in such a way that it will run on Windows, Mac, etc.? As said above, I'm working on a Linux mach...

Cross Platform C library for GUI Apps?

Free of charge, simple to learn/use, Cross Platform C library for GUI Apps? Am I looking for Qt? Bonus question: Can I develop with the said library/toolkit on Mac then recompile on PC/Linux? Super Bonus Question: Link to tutorial and/or download of said library. (RE)EDIT: The truth is that I'm in the process of catching up on the C...

Is there a cross-platform CD/DVD burning library or command-line app?

I'm looking for a cross-platform CD & DVD burning library. I'm not too particular about the language or framework a long as there are minimal dependencies and they are easily installable cross-platform, or already exist. A command-line application would also work.. Looking to target WinXP, Vista, Win7, OS X Leopard & Snow Leopard, & mo...