Hi

I have a C dll which exports all its functions like this:

__declspec(dllexport) void FunctionName();

What I want to do is use this DLL from Qt on Symbian. It works well on Windows and I have successfully compiled the DLL in Carbide.

I can load the dll like this:
QLibrary library( "myDll.dll" );
library.load();

However I cannot resolve the functions like this:
if(library.resolve("Initialize"))

I see in the Qt doc that I cannot resolve functions by name unless the DLL is a STDDLL, unfortunately my dll does not compile while switching to STDDLL so I want to see if I can solve it like this. I honestly do not know what resolving by ordinals mean and how to achive it.

I have also tried to use the default class created by the Carbide wizard that exports the IMPORT_C and EXPORT_C functions but the resolve fails for these functions as well.

I would really appriciate if someone had a small example on how to resolve the functions of a basic symbian DLL with Qt.

Thanks in adcance