Hi, I'm Paul, but you can also call me Todd and I won't get upset.
Category: Series 80
Been a while since I had a chance to post. What with the startup, summer holidays and work intruding.
The Champions day in Singapore was good fun, even got to meet Jukka and Anthony Pranata and
even got to do a day out around Singapore with Sammi and PushL.
During the week, I had an...
I saw a very interesting snipped of code on the newsgroups the other day. It showed how people can so easily misuse Symbian programming idioms if they are not careful RArray<TInt>* array = new (ELeave) RArray<TInt>; array->Append(1);...
Here are some reminders about C type classes for a typical question I saw on NewLC Why does my C class not initialize the members to zero? Is this a bug? 1. Do not create C classes on the stack. This is the reason the member variables do not get set to zero. 2. C classes allocate dynamic...
Someone emailed me a while back on how to use CStack. A quick search of the devkit with Copernic search showed no examples so I decided to post some code on how to use it. The Symbian implemenent of a stack is a simple array where items are appended to the end of the array. This is both simple,...
In the first part we covered how to correctly and cleanly shutdown a process. Now we are going to cover how to shutdown a thread. Typically people start threads to do some form of processing but often fail to plan how to shutdown a thread. I often heard the old saying "Fail to Plan then...
Microsoft are definalty leading the way with their Windows CE Emulation (or to be correct Simulation). Features include
CPU emulator that executes the ARM instruction set by JIT-compiling to x86
An MMU emulator to support virtual memory and page protection
A...
I was going to post this on Sunday but with the uncharacteristically good British Summer and England playing Sweden in football, this slipped over to Wednesday. Originally I thought that porting SyExpat to OS 9.x would involve a large number of changes. In the end this turned out to be not the...
If you are not using RArray, you should be! It offers a substantial performance improvement over the CArray.. implementations for almost all the cases I can think of.
It is fast - RArray is coded in ARM assembly in release versions of the code.
It does not use...