Unable to load DLL QT with C#
-
Hello all,
I have this code QT in "mydll.dll"
__declspec(dllexport) void Test() { qDebug() << "messaggio da DLL"; }
If i use this code with a program c#, i get the following error:
Unable to load DLL "mydll" The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Together with the dll "mydll" I also copied Qt5Cored.dllwith this code
__declspec(dllexport) void Test()
{
// qDebug() << "messaggio da DLL";
}the program works;
Thanks in advance.
-
check the dll's dependencies with Dependency Walker
-
Solved.
missing icudt51.dll
thanks