porting

Cygwin port not working => exits immediately on launch

Hi, I am trying to port a C++ program from Linux to Windows using cygwin. I have it building and linking fine now, but when I launch the program, it exits immediately with an error. When I try it in gdb, I get the following 'unknown target exception' result: $ gdb ../../bin/ARCH.cygwin/release/myApp GNU gdb 6.8.0.20080328-cvs (cygwin...

Missing "ADODB" assembly with Mono?

Hello, I'm trying to port some ASP.Net code to mono. I am testing it using xsp2. I compile it with Visual Studio also before running it with xsp2. Whenever I go to a practically blank page in my application I get Parser Error Message: Assembly ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A not found I ha...

How long does it take to translate SQL Server queries to MySQL?

I have been tasked with estimating the amount of time it will take to rewrite the data access layer of a .NET application from using SQL Server to use MySQL. It is not up for discussion whether this will happen or not...just how long will it take. I have estimated all of the work except for translating the stored procedures in SQL Serv...

HD Photo source compile on ARM?

I've downloaded HD Photo Device Porting Kit 1.0 and successfully compiled and executed it on x86 PC. I want to port the image viewer program to ARM-based Windows Mobile Smartphone, but there is some missing ARM code. First, no "/image/x86/x86.h" equivalent header file for ARM. But the file is very simple, so I copied and renamed it to ...

Better way to port Java into Python? (Hello World Servlet)

After several hours of working on porting this program over, it appears to finally be in a working state. However, I was wondering if anyone knew of a better way or more complete way of porting Java servlets over into Python. The beginning of the Python script contains a lot of support code to make it easier to port the program line-by-l...

OpenGL in my HWND

Right now, I'm trying to port a Direct3D renderer from my engine. I'm and OpenGL begginer so i dont have much knowlegde about OpenGL, as now i can create windows and do my render via glut, but i can't use glut for my project, because the HWND is created in my code and then sent to the renderer DLL // Where pWindow is already a valid HWN...

Numeric code porting powerpc to intel gives different results using float.

My essential problem is how to make arithmetic with floats on x86 behave like a PowerPC, going from Classic MacOS (CodeWarrior) to Windows (VS 2008). The code in question, of which there is a lot, has a pile of algorithms which are highly iterative and numerically very sensitive. A typical complex line is: Ims_sd = sqrt((4.0*Ams*sqr(n...

Transfering program from Windows XP to Windows CE

I want to ask, is there any way of making Windows XP program to work under Windows CE? I got some DLLs compiled in Windows Xp, but they refuse to load in WIndows CE. SO is it a real big problem to make such a transform or may be there are some solutions? I searched internet by they all talking about transforming Windows CE to ordinary Wi...

Easily porting Lua code to C#

Hello, is there any easy way to port Lua code to C#? The biggest problem would probably be to port tables neatly in some dictionaries. And to prevent any misunderstanding: no I cannot use embedded Lua in my program. ...

Programming time schedule for porting a program.

I'm working on a large program which has an abstracted GUI API. It is very GUI based, many dialogs and a few nasty features which rely heavily on the message flow of the GUI (correct sequences of focus/mouse/active handling etc.) - not easy to port I now want to port it from the currently used FOX Toolkit to native Cocoa/MFC. I give my...

How would I translate this C# code into PHP? Solve the mystery of someone's crappy API doc!!

I was handed an software doc (or what passes for proper documentation nowadays). Much to my chagrin, it might as well have been gently used piece of toilet paper from the men's room. Needless to say, the contents of said doc left much to be desired. So, I am left with a great mystery. This doc describes some sort of API; or so I'm to...

Android - Estimate port of BlackBerry app with PIM and networking

I have a J2ME CLDC Blackberry app which I need to port to the Android. Some of the features: client/server communication using HTTPS reading/writing PIMs, files on device memory, SD card listeners on PIMs changes small UI: login page and simple status screen Lines of code: 4000 Any idea what is the amount of work to do that? Let say...

Converting long[64] to byte[512] in Java?

I'm porting a process over to Java. There's already working versions in C# and C++. I have a section in C# that I do Marshal.Copy(...) to convert 64 ulongs to 512 bytes and that line in C++ I use memmove(...) to do the same thing. What is available in Java to achieve the same result? I need the same binary information in the same order ...

porting this php code to c#

I'm having trouble porting this code below to c#. my main trouble is with the $fb_activity_array. $fb_activity_message = '{*actor*} played this game'; $fb_activity_array = json_encode(array('message' => $fb_activity_message, 'action_link' => array('text' => 'Play Now','href' => 'http://yoururltoplaygamegere'))...

How to convert these lines of c code to c++

I'm trying to import some c code into my c++ program. There are three lines that don't import directly: The first: free(t); The second: new_node = (Tree *) malloc (sizeof (Tree)); The third: Tree * delete(int value, Tree * t) How can these be changed to work in C++? ...

Classic ASP port -- how to replace #INCLUDE (.inc) files

We are porting a Classic ASP app to ASP.NET. What do we do about the #INCLUDE (.inc) files? Now they're causing build errors because ASP.NET thinks the variables are "not declared". ...

Java Equivalent of Reflection.Emit

As far as I can tell, Java has no such equivalent of C#'s Reflection.Emit stuff. Are there any additional libraries for Java that provide similar functionality? What are the differences (to reflection emit)? ...

If i develop c++ win32 GUI in xp ,will i have problem to run in it deferent win os's

Hello all i need to develop win32 GUI in c++ (plain win32 windows.h thing ) , I'm developing it in xp os how much problem will i have to port it to vista and windows 7 ? ...

Porting functions from OpenCV

I want to copy some functions from OpenCV library to my embedded application. Rewriting them to use standard data structures is really painful, so I tried the following: bfin-elf-g++ -c cvcalibration.cpp `pkg-config --cflags opencv` I did not get any missing header errors but got lots of error: expected unqualified-id before numeric...

glaux.lib in Visual Studio 2008

I'm porting some code from Visual Studio 2005 to Visual Studio 2008. Can i use the glaux.lib found in Visual Studio 2005 found in \PlatformSDK\Lib folder in Visual Studio 2008 ? I don't want to change my APIs and have the requirement to use glaux.h as said here , does this work looks like glaux.lib is deprecated. Instead link ...