[Qtce-preview-feedback] SHCameraCapture always E_OUTOFMEMORY

Maurice Kalinowski mkalinow at trolltech.com
Mon Jan 7 10:04:45 CET 2008


Hi,

Tony Otto wrote:
> Tony Otto wrote:
>   
>> I'm trying to use SHCameraCapture to grab still images. On a Symbol
>> (Motorola) MC35, I always get OutOfMemory when I call SHCameraCapture 
>> from my QMainWindow-based application.
>>     
>
> Put together a mini-application with just the camera code and it works. 
> I guess I'll have to put the rest of my application on a diet and look 
> into slimming down QtGui4 with qconfig.
>   
taking the physical memory present into account might not be the correct 
attempt. Windows CE 5 still has the 32MB of memory barrier which might 
be the reason for your described failure. Can you investigate how much 
memory is already in use, when you are trying to get the capture?

Best Regards,

Maurice Kalinowski




More information about the Qtce-preview-feedback mailing list