Skip to main content

My experience in porting phoneme mr3 for wince.

2 replies [Last post]
geelpheels
Offline
Joined: 2006-05-05

Let's focus on where Davy did not mention in his differences file of midp.

Add static before the function strdup in the file midpMalloc.c.

Add include file midpMidletSuiteUtils.h in the file winceapp_export.cpp.
Remove the static modifier before the function initWindows and hwndMain.

Add include file suitestore_task_manager.h in the runMidlet_md.c.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
davyp
Offline
Joined: 2007-01-03

Thanks geelpheels for your feedback. Let me comment on your
statements

* Regarding strdup, I put a macro call #ifdef ENABLE_CDC around
the function because compilation of the dual stack fails without it. I do not
seem to need it to compile phoneME Feature

* I do not include midpMidletSuiteUtils.h and I do not seem to be getting
a compilation error. What error do you get when you do not include
midpMidletSuiteUtils.h?

* I also removed the static modifier for initWindows, but not for hwndMain

* In my latest patches I also include suitestore_task_manager.h

For what it's worth, I have all my patches over here but some may be
outdated:

http://www.cs.kuleuven.be/~davy/phoneme/diff/

geelpheels
Offline
Joined: 2006-05-05

Thanks for Davy's correction.
I checked out the src-code files the day after you put it onto your site. I spent weeks if not months to try to make it run on wince emulator. When I finally worked it out, I just want to share my happiness with others.
At least it works, doesn't it?