On windows 10 Crypto.Base64EncodeToString seems to lock up on any file bigger then 1 meg, and some times give me a sound and no reply after locking the app up for some time.
Anyone have any idea how to stop this or another DLL what will be able to do this as I am creating a plugin wrap for a tool I use so I can't just include big list of other plugins to make it work.
This project does not use any edited or changed lua5.1 dlls like a few of my other problems at late.
I have made the file and remove the run part of this code to make sure it was not taking along time to close the file, it still takes for ever to do the Crypto.Base64EncodeToString function and then returns blank
Anyone have any idea how to stop this or another DLL what will be able to do this as I am creating a plugin wrap for a tool I use so I can't just include big list of other plugins to make it work.
This project does not use any edited or changed lua5.1 dlls like a few of my other problems at late.
PHP Code:
function FUNC.thisfunc(s_String)
if File.DoesExist(s_String) then
File.Run("AutoPlay\\Plugins\\NAMEHERE\\THIS.exe", FUNC.__E.." "..s_Key.." "..s_String, "AutoPlay\\Plugins\\NAMEHERE", SW_HIDE, true);
if File.DoesExist(s_String..".ex") then
64Return = Crypto.Base64EncodeToString(s_String..".ex", FUNC.Base64Line);
end
File.Delete(s_String..".ex", true, true, true);
return 64Return;
end
end