Qt 6.11 is out! See what's new in the release
blog
Unable to load DLL QT with C#
General and Desktop
3
Posts
2
Posters
1.6k
Views
1
Watching
-
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