Hi, can you tell me how to use the library functions?
I tried by analogy with this code:
something like this:
but it doesn't work.
I have attached documentation and a library
I tried by analogy with this code:
PHP Code:
xdoc2txt(file name) { File length := DllCall("xd2txlib\ExtractText", "Str", file name, "Int", False, "Int*", fileText) Returns StrGet( fileText, fileLength / 2 ) }
PHP Code:
Text = DLL.CallFunction("AutoPlay\\Docs\\xd2txlib.dll ", "ExtractText", "\"string\", file name, \"number\", false, \"number*\", fileText", DLL_RETURN_TYPE_STRING, DLL_CALL_CDECL);
I have attached documentation and a library