porting

_wfopen equivalent under Mac OS X

I'm looking to the equivalent of Windows _wfopen() under Mac OS X. Any idea? I need this in order to port a Windows library that uses wchar* for its File interface. As this is intended to be a cross-platform library, I am unable to rely on how the client application will get the file path and give it to the library. ...

What is the best approach to moving a preexisting project from Flash 7/AS2 to Flex/AS3?

I have a large codebase that targetted Flash 7, with a lot of AS2 classes. I'm hoping that I'll be able to use Flex for any new projects, but a lot of new stuff in our roadmap is additions to the old code. The syntax for AS2 and AS3 is generally the same, so I'm starting to wonder how hard it would be to port the current codebase to Fl...

How can I help port Google Chrome to Linux?

I really enjoy Chrome, and the sheer exercise of helping a port would boost my knowledge-base. Where do I start? What are the fundamental similarities and differences between the code which will operated under Windows and Linux? What skills and software do I need? Note: The official website is Visual Studio oriented! Netbeans or E...

Help on Porting a SIP library to PSP

I'm currently trying to port a SIP stack library (pjSIP) to the PSP Console (using the PSPSDK toolchain), but I'm having too much trouble with the makefiles (making the proper changes and solving linking issues). Does anyone know a good text, book or something to get some insight on porting libraries? The only documentation this proje...

BeautifulSoup's Python 3 compatibility

Does BeautifulSoup work with Python 3? If not, how soon will there be a port? Will there be a port at all? Google doesn't turn up anything to me (Maybe it's 'coz I'm looking for the wrong thing?) ...

How can I convert VB6 code to C#?

Does anyone know a way to convert from VB6 code to C#? Is there a tool that can do this for me? ...

Any tools to aid porting vb6 to vb.net ?

I just inherited control of a largish VB6 codebase. It doesnt have much in the way of active X other than the crystal reports engine and MS access work it does. I want to move it to .net before the tool set and skill sets dry up completely (if they havent already). Can anyone recommend any good tools to convert/migrate vb6 code to vb.ne...

Porting matlab functions to scilab. How to use symbolic?

I'm porting some matlab functions to scilab. The cool thing is that there is a conversion toolbox that make things very easy. The problem is I did not find the counter part to the syms function, and the symbolic toolbox in general. (I'd like a port of the Control System Toolbox too, i'm still searching for some functions I'd may need). ...

What's "in" and "out" of OpenGL-ES? (Porting from OpenGL)

It seems that all of the documentation I can find about OpenGL-ES says something to the effect of "OpenGL-ES is just like OpenGL, but without a lot of stuff. For example, there's no glBegin or glEnd." Ok, that's great. So, what ELSE isn't there any of? Or is there a list of what's in? Or maybe a porting guide? (Specifically, I'm tr...

What should I keep in mind when porting from C to C++

What should I keep in mind when converting my projects from C to C++? Is there any reason to use C at all? The only thing in my mind now is to make sure it's friendly to DLLs so I can create a C interface if I need it. Note: I know C++ just fine. Templates, partial specialization, why multiple inheritance is bad (I've only seen one prop...

Porting Application from Solaris to Linux

Hi, I am to take up the task of porting a C++ networking application code base of quite a size from Solaris to Linux platform. The code also uses third party libraries like ACE. The application when written initially was not planned for a possible porting in future. I would like to get some advice and suggestions as to how I go about ...

What is the bit size of long on 64-bit Windows?

Not to long ago someone told me that long are not 64 bits on 64 bit machines and i should always use int. This did not make sense to me. I seen docs (such as the one on apples official site) say that long are indeed 64 bits when compiling for a 64bit CPU. I looked up what it was on windows and found Windows: long and int remain 3...

Python 3 porting workflow?

I have a small project I want to try porting to Python 3 - how do I go about this? I have made made the code run without warnings using python2.6 -3 (mostly removing .has_key() calls), but I am not sure of the best way to use the 2to3 tool. Use the 2to3 tool to convert this source code to 3.0 syntax. Do not manually edit the output!...

Has anyone experience with porting a D2007 + TntControls application to D2009?

I have a rather large (freeware) project written with Delphi 2007 which is using both the TntUnicodeControls and the TntLXControls library and I'm planning to move to Delphi 2009. Unfortunatly I'm using those libraries everywhere in my project: Replacement for VCL controls to provide Unicode capability Win32 API wrappers (mostly for c...

Port of Random generator from C to Java?

George Marsaglia has written an excellent random number generator that is extremely fast, simple, and has a much higher period than the Mersenne Twister. Here is the code with a description: good C random number generator I wanted to port the CMWC4096 code to Java, but it uses several unsigned datatypes so I am not sure how to do this ...

Implementing Java's getResponseCode() in C?

If it's any help, there is also a similar class in C#'s WebRequest. Although I do not want it in java or .NET, i am wondering how to implement this in native C/C++ code (for windows). for reference: try { URL url=new URL("http://google.ca"); HttpURLConnection con=(HttpURLConnection)url.openConnection(); con.connect(); int code = con.g...

Guidelines to write C# applications for .NET and mono

Mono claims to be compatible with .NET. Have you tried it? Can you share any tips or guidelines for making a running .NET application compatible with mono? ...

Porting WPF to Cocoa (and/or vice-versa)

I am in the beginning stages of creating software for a mISV-to-be. The program is a desktop application and in the long run I want to have a native version for both Windows and OS X (I have a looked at various cross-platform APIs, and none of them meet my needs). Initially though, I don't think it makes sense to develop for two platform...

Making VS 2008 play nice with eVC 4.0 projects

I would like to contribute to an open-source Windows Mobile project, but it's being developed in eVC 4.0, which flat-out does not work on Vista (feel free to correct me!), and I would prefer to avoid having to dual-boot or remote into my only remaining XP box. I have VS 2008 installed on my main development machine, and got all the SDKs...

What's the equivalent of Windows' QueryPerformanceCounter on OSX?

I'm porting a library from Windows to *NIX (currently OSX), does anyone now what function can I use instead of Microsoft's QueryPerformanceCounter and QueryPerformanceFrequency? ...