testingtest Posted September 22, 2007 Share Posted September 22, 2007 I run a script that includes #include <A3LGDIPlus.au3> and says that it is unable to execute the dll $ghA3LGDIPDll Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 22, 2007 Moderators Share Posted September 22, 2007 I run a script that includes#include <A3LGDIPlus.au3>and says that it is unable to execute the dll $ghA3LGDIPDllA wild stab in the dark... Do you have the GDIPlus.dll installed on your PC? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
testingtest Posted September 23, 2007 Author Share Posted September 23, 2007 (edited) A wild stab in the dark... Do you have the GDIPlus.dll installed on your PC?well I checked the autoit file and looked were it was calling it and didn't see it, so i would not know were to locate it. Edited September 23, 2007 by SmOke_N Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 23, 2007 Moderators Share Posted September 23, 2007 (edited) well I checked the autoit file and looked were it was calling it and didn't see it, so i would not know were to locate it.It's not an 'autoit' dll... it's a windows dll, so it would be you're system32 directory.If you don't have, then download it to that directory. Edited September 23, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
testingtest Posted September 23, 2007 Author Share Posted September 23, 2007 (edited) It's not an 'autoit' dll... it's a windows dll, so it would be you're system32 directory.If you don't have, then download it to that directory.I mean't I checked the include to see were it was calling the dll, and I checked my system 32 and the dll file is there but the script still complains it can't call it properedit:$aResult = dllcall($gha3lgpdll, *int* , "gdiploadimagefromfile" , "wstr" , $filename" , *int_ptr" , 0)Error autoit has encountered a fatal crash as a result of: unable to execute dllcall Edited September 23, 2007 by testingtest Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 23, 2007 Moderators Share Posted September 23, 2007 I mean't I checked the include to see were it was calling the dll, and I checked my system 32 and the dll file is there but the script still complains it can't call it properedit:$aResult = dllcall($gha3lgpdll, *int* , "gdiploadimagefromfile" , "wstr" , $filename" , *int_ptr" , 0)Error autoit has encountered a fatal crash as a result of: unable to execute dllcallFirst, there is no $gha3lgpdll var in the A3LGDIPlus.au3.Second, having said the above this is your script obviously, so without posting the script there is no way to fix your problem.Third, That is the wrong way to call a DLL.... Dll's functions are case sensitive, as well as all of your syntax being wrong in that one call. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
testingtest Posted September 23, 2007 Author Share Posted September 23, 2007 First, there is no $gha3lgpdll var in the A3LGDIPlus.au3.Second, having said the above this is your script obviously, so without posting the script there is no way to fix your problem.Third, That is the wrong way to call a DLL.... Dll's functions are case sensitive, as well as all of your syntax being wrong in that one call.when I run lod3n launcherI get that error and yes there is a var called $ghA3LGDIPDll in A3LGDIPlus that is 141kb I found it in autoit folder in the include folderI am happy your trying to help but this is making me mad I have installed everything needed Link to comment Share on other sites More sharing options...
Zedna Posted September 23, 2007 Share Posted September 23, 2007 What OS do you have? On Win9x you must install GDI+ DLL separatelly (In WINXP it's already in system). Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 23, 2007 Moderators Share Posted September 23, 2007 (edited) when I run lod3n launcherI get that error and yes there is a var called $ghA3LGDIPDll in A3LGDIPlus that is 141kb I found it in autoit folder in the include folderI am happy your trying to help but this is making me mad I have installed everything neededThere may be a $ghA3LGDIPDll... ButBut there's not a $gha3lgpdll as you are suggesting here:http://www.autoitscript.com/forum/index.ph...st&p=407716Edit:Added highlighting for better clarity. Edited September 23, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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