RE: Problems developing an application to PocketPC

From: Ali (aagardezi_at_gmail.com)
Date: 08/04/04


Date: Wed, 4 Aug 2004 08:31:29 -0700

The implemetation of CF version 1 has a bug in AddrOfPinnedObject. instead of returning a pointer to the array, it return a pointer to the internal array structure which consists of the arraysize followed by the array data. since the array size is a 32 bit number, add 4 to the value returned by it to compensate for this error.
Also see the previous post by Jorge Castillo in this forum.

Hope this helps
Ali Gardezi