I'm trying to use the CImageDecoder in an executable. Under the emulator, when I call Convert() I get an unhandled exception raised. The same code works fine if I'm running as an application and taking advantage of the UI framework. Has anyone seen this behavior? And, if so, what did you do to fix it?