I have a static library that shares a lot of source between the OS X and Windows versions. Both versions use CMAKE. I have thought about a linux version due to recent requests.
OS X and uses Carbon.
Windows uses straign win32 API, no MFC
is in C++ (.cpp)
My questions are:
For the OS X version Apple is throwing away 64-bit Carbon, s...
I am building a small GUI application where I use drag and drop internally on custom components. Now I want to have context menus on the components which have drag and drop enabled.
Now my question is, how do I properly distinguish between these two events.
For context menus there is an API function, but for DnD I did not find one.
I us...
Is there a decent USB communication API? Preferably cross-platform (Linux if not, I guess)
I don't have a specific use in mind, I just want to learn about using the USB ports for future electronics projects. I realize this is very general, I'll try to refine the question as the answers point me in the right direction.
Thanks.
...
Hi SO-followers,
does sombebody know a C++ library for accessing different operating system APIs? I'm thinking about a wrapper to access OS specific functions.
Something like:
osAPI.MessageBox(); // calls MessageBox() in Win32, equivalent in Mac OS Linux etc...
Since I think it's hard to realize this for different OSes for now it wou...
I'm making a cross-platform application that renames files based on data retrieved online. I'd like to sanitize the Strings I took from a web API for the current platform.
I know that different platforms have different file-name requirements, so I was wondering if there's a cross-platform way to do this?
Edit: On Windows platforms you ...
I'm creating a small ruby script to resize images and save them in a specified directory. I'd like the application to be as transparent as possible.
Is it possible to allow file dropping onto my Ruby script in all platforms? For instance, the user drags a file onto the script, which then takes the file path as an argument and resizes th...
There are several different web services -- various technologies used, such as Java, .NET, Python, Perl, and possibly more in the future -- belonging to different organizations, and the access to those web services has to be restricted.
The idea is to have a central authentication and authorization server, only responsible for granting ...
I have a .NET 2.0 service that is currently accessed via .NET remoting, and I would like to add support for another RPC method that allows a wider range of platform and language support.
All of the API methods take and return XML and simple types like int.
I know about CORBA and IIOP.NET which look promising.
What other technologies s...
I am writing a video using OpenCV on linux machine. I want to read the same video using OpenCV on a windows machine. I am not able to do this using the standard codecs provided in openCV. Can anybody suggest how I can read/write videos across the two platforms?
...
What is a good toolset for doing C cross platform development on Windows?
...
Hello all
what GUI frame work are Google chrome browser using ?
that its so light and compiled cross platform ?
...
I have a code that looks like this:
uses this library
#include <unistd.h>
#define READ_FD 0
#define WRITE_FD 1
int m_pipe[2];
if(pipe(m_pipe) != -1) {
unsigned long Id = gdk_input_add(m_pipe[READ_FD], GDK_INPUT_READ, Callback, (gpointer)this);
}
and it surprisingly builds on both linux(all major flavors: AS3, AS5, solaris) an...
I have a Visual Studio C++ based program that uses pre-compiled headers (stdafx.h). Now we are porting the application to Linux using gcc 4.x.
The question is how to handle pre-compiled header in both environments.
I've googled but can not come to a conclusion.
Obviously I want leave stdafx.h in Visual Studio since the code base is p...
By that I mean if Firefox renders exactly in the same way on win/mac/linux and Safari on...
If not, what have you experienced?
...
I've been looking for a good cross-platform 2D drawing library that can be called from C++ and can be used to draw some fairly simple geometry; lines, rectangles, circles, and text (horizontal and vertical) for some charts, and save the output to PNG.
I think a commercial package would be preferable over open source because we would pre...
I'm writing a quick server app for something so don't really want to write a full GUI. However the problem is that the main part of the server, however the console window will only allow input or output at a time.
Many games ive played that have a console in them (usually needs activating in some way or another) they solved this problem...
Hi,
Our code is C++ and is managed in svn. The development is with Visual Studio. As you know Visual Studio C++ is case insensitive to file names and our code unfortunately "exploited" this heavily.
No we are porting our application to Linux + gcc, which is case sensitive. This will involve a lot of file names and file changes. We plan...
I have a interesting problem: Where I work we've built a home-grown ERP system in VB6 that we are slowly moving over into vb.net. There are some projects have are in .net: we have a hand-held C# project that uses a web service to talk to our database, I've built some reporting screens using Crystal and some smaller maintenance screens.
...
We have a handful of developers working on a non-commercial (read: just for fun)
cross-platform C++ project. We've already identified all the cross-platform libraries we'll need. However, some of our developers prefer to use Microsoft Visual C++ 2008, others prefer to code in Emacs on GNU/Linux. We're wondering if it is possible for all...
Hi,
I'm thinking of developing a desktop app in C#. Although windows will be my main target, later I'll try and run the app in MacOS X and linux. Can I do this today, in a simple way?
I'm aware of the mono project, but it is not clear to me if I can do this in a simple way.
Also, what is the relation between WPF and Silverlight? AFAIK ...