Hi,

in case the VSI fixes will not help launching an application, I have some additional questions to you. Is there a public available SDK for your device? Using the Standard SDK for Windows CE 5 might not always be the best solution. On some of our testdevices we were missing symbols on runtime, while the StandardSDK has these.

Eg. this is why we removed the aygshell link-time dependency and try to figure out on runtime, if this library is available.

I have attached a small test application which simply tries to load some libraries on your device. Simply call 'qmake -tp vc' in the command prompt and open the generated visual studio project file. After compilation and deployment you need to manually copy the Qt libraries into the directory on the device. Then launch the application. In case it cannot load a lib because of a missing symbol, Visual Studio should complain about a missing ordinal. Please send us the whole output of this test application, so that we can investigate a little bit further.


Best Regards,

Maurice Kalinowski

P.S.: We have a new version out (beta1). Please try this one too.

// 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]);
        OutputDebugStringW(libraries[i]);
        if (instance != NULL) {
            OutputDebugStringW(L" : Successfully instantiated\n");
            FreeLibrary(instance);
        } else
            OutputDebugStringW(L" : Could not be loaded\n");
    }
    return 0;
}

######################################################################
# 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
_______________________________________________
Qtce-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qtce-preview-feedback

Reply via email to