[Qt-wince-interest] Error while executing qt on winCE

Saravanan Ponnuswamy psaravanan81 at gmail.com
Mon Jun 16 11:08:21 CEST 2008


Hi Maurice,

 I compiled and loaded the sample application you gave and run that in debug
mode . the following were the errors:

*Load module: t1.exe
Load module: coredll.dll
Load module: ole32.dll
Load module: commctrl.dll
Load module: aygshell.dll
Lib: aygshell.dll
aygshell.dll : Successfully instantiated
 : Successfully instantiated
Unload module: aygshell.dll
Unload module: ole32.dll
Unload module: commctrl.dll
Lib: coredll.dll
coredll.dll : Successfully instantiated
 : Successfully instantiated
Load module: msvcr80d.dll
Lib: msvcr80d.dll
msvcr80d.dll : Successfully instantiated
 : Successfully instantiated
Unload module: msvcr80d.dll
Load module: ole32.dll
Load module: ws2.dll
Load module: winsock.dll
Load module: msvcr80d.dll
Load module: qtcored4.dll
Lib: QtCored4.dll
QtCored4.dll : Successfully instantiated
 : Successfully instantiated
Unload module: qtcored4.dll
Unload module: ole32.dll
Unload module: winsock.dll
Unload module: ws2.dll
Unload module: msvcr80d.dll
Load module: ole32.dll
Load module: commctrl.dll
Load module: shcore.dll
Load module: ceshell.dll
ERROR: function @ Ordinal 8375750 missing in Module 'ole32.dll'
!!! Please Check your SYSGEN variable !!!
Lib: QtGuid4.dll
QtGuid4.dll : Could not be loaded
 : Could not be loaded
Unload module: ole32.dll
Unload module: commctrl.dll
Unload module: shcore.dll
Unload module: ceshell.dll
The program '[e32632e] t1.exe' has exited with code 0 (0x0).

*But actually i deployed the application through Visual Studio 2005. This
created a directory and placed all the files -- the
t1.exe,QtCored4.dll,QtGuid4.dll and msvcr80d.dll on that directory. Then
also its showing the error.

with regards,
saravanan.
On Mon, Jun 16, 2008 at 2:18 PM, Maurice Kalinowski <mkalinow at trolltech.com>
wrote:

> Hi,
>
> Saravanan Ponnuswamy wrote:
>
>>
>> i had compiled the examples alone with debug option and deployed it. When
>> i run it in debug mode, it says:
>>
> I guess you did recompile whole Qt with the no cursor option? Are all
> libraries (QtCored4.dll, QtGuid4.dll, msvcr80d.dll) deployed correctly to
> the device?
>
>
>> Am i missing something more ?
>>
> It seems like your device is definitely not compatible with the Standard
> SDK. This error message is usually originated in some feature not available
> during runtime on the device.
> I have attached some code snippet. That one tries to load the Qt libraries
> and bails out with an error message describing the feature missing.
> Could you please build it and start it from Visual Studio in a directory
> where the Qt libraries are located as well? It is important to have both in
> the same directory.
>
> This should give us some more information.
>
>
> Best Regards,
>
> Maurice Kalinowski
>
>
>> with regards,
>> saravanan
>>
>>
>> On Mon, Jun 16, 2008 at 12:29 PM, Maurice Kalinowski <
>> mkalinow at trolltech.com <mailto:mkalinow at trolltech.com>> wrote:
>>
>>    Hi again,
>>
>>
>>    Saravanan Ponnuswamy wrote:
>>
>>
>>         i tried compiling Qt with the following options:
>>        -platform  win32-msvc2005 -xplatform
>>        wince50standard-armv4i-msvc2005 -D QT_NO_CURSOR=1
>>
>>        ,but this inturn lead to the following error:
>>
>>    Yes, as you are disabling functionality and some of our
>>    applications depend on it, it might end up in some parts not
>>    compiling. But the source should be fine, so you can use
>>    nmake sub-src
>>    to just build the sources and not the designer tools.
>>    Most examples should also be fine with it. We will try to address
>>    this issue, thank you for reporting.
>>
>>
>>
>>        Actually the version of qt i'm using is
>>        :qt-embedded-wince-opensource-src-4.4.0-rc1.
>>
>>        is this the correct version ?
>>
>>    The RC1 stands for Release Candidate, which is not the latest
>>    version available. Please follow this link to get the latest
>>    version of Qt for Windows CE:
>>    http://trolltech.com/downloads/opensource
>>
>>    As mentioned, some parts in tools will not compile due to missing
>>    cursor support.
>>
>>
>>    Best Regards,
>>
>>    Maurice Kalinowski
>>
>>
>>
>
> ######################################################################
> # Automatically generated by qmake (2.01a) Thu Mar 6 14:59:37 2008
> ######################################################################
>
> TEMPLATE = app
> TARGET = QtVerify
> DEPENDPATH += .
> INCLUDEPATH += .
> QT =
> CONFIG -= qt
>
> # Input
> SOURCES += qtverify.cpp
>
> // QtVerify.cpp : A small application which checks if Qt main libraries are
> loadable
> // if they are not Visual Studio returns the missing symbol.
> //
>
> #include <windows.h>
> #include <commctrl.h>
>
> int WINAPI WinMain(HINSTANCE /*instance*/, HINSTANCE /*prevInstance*/,
> LPWSTR /*wCmdParam*/, int /*cmdShow*/)
> {
>    wchar_t* libraries[] = {
>        L"aygshell.dll",
>        L"coredll.dll",
>        L"msvcr80d.dll",
>        L"QtCored4.dll",
>        L"QtGuid4.dll",
>        0
>    };
>
>    for (int i = 0; libraries[i] != 0; ++i) {
>        HINSTANCE instance = LoadLibraryW(libraries[i]);
>        wprintf(L"Lib: %s\n" , libraries[i]);
>        OutputDebugStringW(libraries[i]);
>        if (instance != NULL) {
>            OutputDebugStringW(L" : Successfully instantiated\n");
>            wprintf(L" : Successfully instantiated\n");
>            FreeLibrary(instance);
>        } else {
>            OutputDebugStringW(L" : Could not be loaded\n");
>            wprintf(L" : Could not be loaded\n");
>        }
>    }
>    return 0;
> }
>
>
> _______________________________________________
> Qt-wince-interest mailing list
> Qt-wince-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-wince-interest/attachments/20080616/e6d5ca39/attachment.html 


More information about the Qt-wince-interest mailing list