I've been given some Symbian C++ code to port over for use with the Android NDK.
The code has lots of Symbian specific code in it and I have very little experience of C++ so its not going very well.
The main thing that is slowing me down is trying to figure out the alternatives to use in normal C++ for the Symbian specific code.
At th...
Hello, I am porting a library from C++ to C#. The old library uses vectors from C++ and in the C# I am using generic Dictionaries because they're actually a good data structure for what I'm doing (each element has an ID, then I just use using TypeDictionary = Dictionary<String, Type>;). Now, in the C# code I use a loop like this one
Typ...
OK, I'm working with converting some very basic PHP to port to a dev server where the client only has CF. Ive never worked with it, and I just need to know how to port a couple things:
<?php
$pageTitle = 'The City That Works';
$mainCSSURL = 'header_url=../images/banner-home.jpg&second_color=484848&primary_color=333&a...
Hi,
I am migrating an applciation from windows to linux.
I am facing problem w.r.t WaitForSingleObject and WaitForMultipleObjects interfaces
In my application I spawn multiple threads where all threads wait for events from parent process or periodically run for every t seconds.
How can I implement this in Unix.
I have checked pthread...
I essentially want to reconstruct the getTickCount() windows function so I can use it in basic C++ without any non standard libraries or even the STL. (So it complies with the libraries supplied with the Android NDK)
I have looked at
clock()
localtime
time
But I'm still unsure whether it is possible to replicate the get...
I am currently porting some Windows mobile C++ code to standard C++.
So I am trying to find alternatives for windows specific functions.
I have had very little luck in finding a standard C++ function that can help me replace the WSAGetLastError() windows specific function.
WSAGetLastError() returns error numbers for errors that occur ...
I have heard of WINE but I don't like it because it's slow on the computers I have tested and almost always crashes. It also has some unpleasant looking gui.
I am wondering if there is a "win32" library in c/c++ for linux that produces native linux code
so that if I have my source code for windows, I can just recompile and produce a work...
I am looking for nice Java LDAP library suitable for using on BlackBerry. There is some basic support for LDAP in BlackBerry Java SDK, however it is too basic and I would like to use direct TCP connections instead of MDS (MDS is the only transport option when using LDAP classes from standard BB SDK).
Regarding features I basically want ...
How can I port an application based on OS X to Linux? It is closed source and working in Windows either. It is not wrriten in Objective C and doesn't use Cocoa.
Thank you.
...
I'm currently porting a heap of code that has previously only been compiled with Visual Studio 2008.
In this code, there's an arrangement like this:
template <typename T>
T convert( const char * s )
{
// slow catch-all
std::istringstream is( s );
T ret;
is >> ret;
return ret;
}
template <typename T, typename T2>
T...
I have a set of classes that I've written in C++ for a code base that will run in Linux commandline. They primarily use the STL and no fancy features of the language. They've been tested, and work.
I need to write a GUI app for the .NET framework that does things using logic I've written in those classes, but run on Windows. A critic...
Hi,
We are porting an MFC application to WPF, and will probably won't have time to port the entire application. The MFC app has many CDialog-based windows, and we are thinking of leaving some of these windows in MFC, and show them inside a WPF window, so we can control their modality from WPF.
Is there an easy way to accomplish that? If...
So I am trying to port 32 bit to 64 bit.
I have turned on the VS2008 flag for detecting problems with 64 bit.
I am trying following:
char * pList = (char *)uiTmp);
warning C4312: 'type cast' : conversion from 'unsigned int' to 'char *' of greater size
Disregard the code itself. This is also true for any pointer, because 64 bit poin...
I've run into this problem several times before and wanted to hear what other's experience and advice is. Assume you have a working and stable but relatively small game engine that works on only one platform, and you want to port it to another platform.
The first step is obvious: you take the code, link it to the platforms libraries ins...
I have a large codebase that I've been tasked with porting to 64 bits. The code compiles, but it prints a very large amount of incompatible pointer warnings (as is to be expected.) Is there any way I can have gcc print the line on which the error occurs? At this point I'm just using gcc's error messages to try to track down assumptions t...
I am trying to translate this code but I don't understand how to use the GET / PUT part of the code in another language like c++ or c#.
This is the code :
Private Sub cmd_Click()
Dim i As Integer, a As Integer
a = 10
For i = 1 To a
Dim file As String
Open "txt" For Binary As #1
file = Space(LOF(1))
Get #1, , file
Cl...
I'm not sure why this is coming up I am porting my app into an ipad version and moving one of my views which happens to be a navigation controller into a uipopover. I did have a uibarbutton item on the view im porting with a "done" button to dismiss the navcontroller but I commented out that code and its still appearing, not sure why.
I...
I am able to create a new application profile targeted for my iPad, however, when I convert from iPhone to "Universal" device, I am getting an error in signing.
[BEROR]Code Sign error: a valid provisioning profile matching the application's Identifier 'rfc1034identifier' could not be found
Also note: I am able to run it in the simulat...
hello,
I'm trying to port a Windows app to Linux. This appplication marks some functions with the __stdcall attribute. However, i was told by a friend that stdcall is used only on windows and has no meaning in linux (but DOES exist in Windows GCC).
I tried to search Google about that, and got some results state that there IS stdacll in L...
Hi,
I have an existing ASP.net 3.5 web application.
This is tested and working in a 32 bit environment.
There is a plan to move this application to a 64 bit environment.
As a first step, the plan is to compile the entire application in "Any CPU"
Is anyone aware of any plan / checklists that can be used in porting from 32-bit to 64-bit...