cross-platform

How to print string in OS-neutral way?

I am trying to print a string in a way that's OS-neutral. For example, the program should run the same on Windows as it does on *nix. Is this even possible? I'm assuming that since the underlying architecture is the same (x86) that the method would be the same. Is it as simple as calling an interrupt? The reason for this is I'm trying ...

Arguments for and against supporting std::wstring exclusively in cross-platform library

I'm currently developing a cross-platform C++ library which I intend to be Unicode aware. I currently have compile-time support for either std::string or std::wstring via typedefs and macros. The disadvantage with this approach is that it forces you to use macros like L("string") and to make heavy use of templates based on character type...

Monodevelop .Net cross platform custom drawing application

I'm looking for good suggestions on where to start with an educational application I am designing. I want my application to be compatible with Windows and OSX - my research seems to suggest that about 40% of the audience would be using a mac. I'm keen to stick to .net/c sharp and the Mono framework. The application is reasonably simpl...

Target multiple programming languages/platforms.

Are there any good ways to define interfaces/class hierarchies in a non language specific fashion and then generate corresponding source code in specified languages? In particular, I need to target both Java and C# for a fairly comprehensive API I am creating. I recall at one point seeing a post here on SF where an answer mentioned a pro...

What is Cross-Platform Development ?

.NET is for Windows ! But, though for linux environment, MONO achieves goal for .NET support. What is Mono ? Is it linux IDE for dotnet support ? How many languages are supported by .NET ? Mono uses cross-platform development concept. What does it mean by ? ...

Free vector coordinates for fonts?

I'm having big issues with cross platform font rendering. The line height, the font width, the letterspacing and everything you can think of is different all the time. Even on the same platform with different settings of font smoothing the result is different. For my application i need to be able to scale up the text and still have just ...

is it possible to run single application in both android and iphone

hi this is mahesh. Is it possible to develop a single application that is able to run in both android and iphone.If can how can i done post some link. Thank you very much in advance ...

Sharing code across different source control systems

The product I'm working on has a mac and pc version. The PC version uses Microsoft's Team Foundation Server and the Mac uses Subversion for source control. Right now we have a little bit of shared code between the two and it currently lives in both systems and will inevitably get out of sync. What would be some ways to keep these in syn...

Developing Mobile Apps for Multiple Platforms (without a cross-platform framework!)

We're the developers of a relatively complex non-game iPhone 3 application, and we're beginning an ambitious rewrite to take better advantage of iOS 4. There's a significant social element to the app, so we started thinking that we'd like to make it available on as many modern mobile platforms as possible: iPhone/iOS Android Windows Ph...

Does Python have a cross-platform GUI toolkit that uses native widgets?

Python has many GUI toolkits. If I understand correctly, these toolkits typically take on the responsibility of rendering their own widgets (rather than relying on the operating system). This achieves cross-platform support at the cost of having widgets that don't necessarily look, feel and behave exactly like their native counterparts. ...

Cross Language/Cross Platform Date and Time Transfer

What is the best way to transfer Dates and Times across. I am using GWT on the client/browser side and .NET C Sharp on the server and I am using JSON as data-interchange format. I am currently storing all the dates and times on the server as .NET DateTime. Now I have noticed, that if I use the GWT DatePicker or DateBox to pick a date and...

Git add submodules to super project from existing repos

Hi I have several (about 10-15) Git repositories in a directory: ~/plugins/admin ~/plugins/editor ~/plugins/etc Each have their own separate repository and remote server. The problem is that to pull all the changes from all the repositories I have to: cd ~/plugins/admin git pull origin master password: ******** cd .. cd ~/plugins/...

Recommended way of deploying cross-platform mac application

I am working on a job where we are developing a set of cross-platform applications using C++, Qt, and CMake (among other things). On the Mac we run into the problem that we need to package all of our shared libraries into each .app (currently there are 4 of them), which causes the size of the download and install to get large fairly rapi...

Is there any free cross platform setup builder tool available?

Hello anyone! There are commercial cross-platform install tools out there and i think that they are really useful because you "compose" your setup once and the setup tool compiles it for the target platforms you want it to work for. Unfortunately, such tools are expensive for a shareware author like me - they cost thousands of dollar...

Cross Platform C?

I am running Linux Ubuntu 10.04 and I have a Windows 7 machine and a MacBook running Mac OS X 10.6.4. How can I write a simple C program (as in NOT QT!) like: #include <stdio.h> int main(int argc, char **argv) { printf("Hello Linux and Mac and Windows!") return 0; } to run on all my machines without having to compile this pro...

linker error using wxwidgets with cmake

HI, I'm getting following linker error when I compile my program with VS2008 solution which is created with CMake for my wxwidgets based application. *error LNK2019: unresolved external symbol main referenced in function __tmainCRTStartup* but, same program I'm able to compile with normal VS2008 solution which is not created with CMake...

Writing cross-platform, stand-alone, binary CGI application?

I notice that small, static, brochure sites would often benefit from adding forms to let users (un)subscribe to an event or mailing list but this means installing some application in the web server referenced in the "action" attribute in HTML forms. To make it easier to install + prevent users from sharing this program, ideally, I'd lik...

Why is my string parsed differently via strtok on Windows and Linux?

In my program I'm cutting my char* with strtok. When I'm checking on Windows it's cut like I want, but when I'm doing the same thing on Linux, it's doing it wrong. Example : Windows: my char* (line) is : "1,21-344-32,blabla" in the first time I do strtok I get "1" in the second time I get "21-344-32" Linux: my char* (lin...

Does Mono support visual basic (not .NET)?

Someone asked me today if it was possible to port a visual basic application to Linux or similar platform, I assumed it was .NET so I suggested to use Mono, but noticed that on their vb support page they only talk about vb 8 (.NET) Does mono support non-.NET vb? In fact I'm not sure what he is using, I think vb6, I'm not sure of the ver...

Setting up a cross-platform C++ project in Eclipse with cross-platform libraries

I am working on a cross-platform C++ project with 8 other people which uses the following libraries: OpenCV Library Boost C++ Library The project is inteded to be cross-platform so all users have agreed not to use platform-specific code, and, to keep things as simple as possible, all users will be using Eclipse as their IDE. However,...