Caiol Posted March 18, 2011 Share Posted March 18, 2011 (edited) Hello!! I want to save a DLL that is at the resources (AutoItWrapper). I've used Resources UDF, but the function _ResourceSaveToFile() isn't working... What parameters of the function should I use? > $ResType, $ResLang....?? _ResourceSaveToFile($FileName, $ResName, $ResType = 10, $ResLang = 0, $CreatePath = 0, $DLL = -1) Thanks!! Edited March 18, 2011 by Caiol Link to comment Share on other sites More sharing options...
sahsanu Posted March 19, 2011 Share Posted March 19, 2011 This works for me #AutoIt3Wrapper_Res_File_Add=dll\test.dll, rt_rcdata, MY_DLL #include <resources.au3> _ResourceSaveToFile(@ScriptDir & "\test.dll", "MY_DLL", $RT_RCDATA, 0, 1) Link to comment Share on other sites More sharing options...
Caiol Posted March 19, 2011 Author Share Posted March 19, 2011 This works for me #AutoIt3Wrapper_Res_File_Add=dll\test.dll, rt_rcdata, MY_DLL #include <resources.au3> _ResourceSaveToFile(@ScriptDir & "\test.dll", "MY_DLL", $RT_RCDATA, 0, 1) Thanks!! I've used: #AutoIt3Wrapper_Res_File_Add=dll\test.dll, MY_DLL Instead: #AutoIt3Wrapper_Res_File_Add=dll\test.dll, rt_rcdata, MY_DLL Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now