Ich schrieb eine DLL in C++:AutoIt und C++.
extern "C" __declspec(dllexport) void Msg(std::wstring filename)
{
MessageBox(NULL, filename.c_str(), L"", MB_OK);
}
Wenn ich versuche, die DLL aus AutoIt zu nennen:
DllCall("mydll.dll", "none:cdecl", "Msg", "wstr", @AutoItExe)
Ich erhalte eine Meldung mit einer kleinen Anzahl von Hieroglyphen. Was ist das Problem?