[Qt-interest] Running QtWebKit Application on Windows Mobile 5

Marco Borm qt-lists at retrodesignfan.eu
Mon Mar 23 20:11:48 CET 2009


I see: The pic in the "bolingconsulting"-page is shit.

So just look at this (I always sent you):
http://msdn.microsoft.com/en-us/library/ms836325.aspx
"*Figure 3. A Windows CE .NET application virtual memory space" should 
be clear.

I also sent you a tool:
http://www.codeproject.com/KB/mobile/VirtualMemory.aspx

Marco
*
Tumarov Alexander wrote:
> I've got an impression that DLLs under WM5 are always in slot #1 and the
> only thing that's being copied into slot #0 is the image of process.
> Can you point to web resources (or printed ones) that explains it in
> details?
>
> btw - is there any tool that allow investigation of memory layout / slots?
>
> thank you in advance.
>
> Marco Borm wrote:
>
>   
>> Hi Tumarov,
>>
>> a little correction: Additional DLLs (with code) you copy to the device
>> are always loaded into slot _0_, which is the same slot where your
>> process code and data is mapped into and executed. DLLs the manufacturer
>> placed into the OS-image _can_ be loaded into slot 1 if they are
>> correctly marked as XIP (eXecute In Place), if not there are also loaded
>> into slot 0.
>> I have a Qtek 9000 running WM5 with 9MB left in slot 1 (unusable for me)
>> and 10MB left in slot 0. Because the code and data of my process also
>> need to load into slot 0 its impossible to load a DLL larger then about
>> 5-6MB.
>>
>> Glad to help you!
>>
>>
>> Marco
>>
>> Tumarov Alexander wrote:
>>     
>>> After reading relevant web pages about memory layout in WinCE I tried to
>>> compile QT with -static.
>>> It works now. Slowly (but I believe that it is CPU who is too slow...) ,
>>> but works.
>>> I found the information that in WM5 ALL DLLs that in simple word contain
>>> shared code portions are going into 1 slot (32 MB). I need webkit,
>>> network, xml, and gui - all together is about 10-12 MB so it easily can
>>> be the case it doesn't fit the slot (system DLLs are sitting there as
>>> well). Now it works.
>>>
>>> Thank you.
>>>
>>> Marco Borm wrote:
>>>
>>>   
>>>       
>>>> Hi Alexander,
>>>>
>>>> If you checked all dependencies and this isn't the problem:
>>>> Maybe you don't have enough space in your process slot. Try the same on
>>>> a Windows Mobile 6.1 (emulator or not) which has a extra slot for large
>>>> dlls.
>>>>
>>>> Marco
>>>>
>>>> Tumarov Alexander wrote:
>>>>     
>>>>         
>>>>> Hi everybody.
>>>>>
>>>>> May be I am facing "known problem..." but I do not succeed in finding a
>>>>> way to solve it.
>>>>>
>>>>> I have Visual Studio 2005 + Pocket PC SDK.
>>>>> Unpacked qt 4.5 embedded-wince (open source). Compilation went fine
>>>>> (shared, debug and release versions).
>>>>> When I am trying to run examples without webkit - everything I tried so
>>>>> far was successfully deployed to emulator and run. When I try to run
>>>>> anything with webkit inside I get all the time the same error like(on
>>>>> emulator) : Unable to start program
>>>>> '%CSIDL_PROGRAM_FILES%\wktest\wktest.exe\/ An error occured that
>>>>> usually indicates a coruupt installation (code 0x8007007e). If the
>>>>> problem persist...
>>>>>
>>>>> When I try to run program on device itself I get this:
>>>>> "The file 'wktest' cannot be opened. Either it is not signed with a
>>>>> trusted certificate, or one of its components cannot be found. You
>>>>> might need to reinstall or restore this file.
>>>>>
>>>>> Is there anything that can be done to solve this?
>>>>>
>>>>> _______________________________________________
>>>>> Qt-interest mailing list
>>>>> Qt-interest at trolltech.com
>>>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>>>
>>>>>
>>>>>       
>>>>>           
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>>
>>>       
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>   




More information about the Qt-interest-old mailing list