Are you setting image from another thread?
If so, search this NG (link below) for "Control.Invoke" which you should use
to fix it.
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/...ramework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
"Gravity" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I am confussed. I am developing an application on PocketPC using C# with
> VS.net 2003. It run fine on the compiled exe. It always do.
>
> However, when run on the emulator, be it PocketPC version 2002 or 2003, it
> always hang at the same code after I narrow down the issue.
>
> f_Bitmap = new Bitmap(new MemoryStream(f_byteDataImage));
> pictureBox.Image = f_Bitmap; // This is the line that got stucked
>
> I am surprised that it supposed to be catched, rather than being freezed.
> Any ideas? The f_byteDataImage is actually a complete JPEG buffer, just
> like
> what being read from a file.
>
> Thanks for taking your time to read. Hope there are someone kind enought
> to
> point some light into my confussion.
>