Jump to content

dekadish

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by dekadish

  1. I have tryed it and it works.. but it doesnt work on some Windows Machines.. i tested it on windows7 ultimate, XP and one some XP's it works and some dont.. i dont know why.. Maybe it depeends what language is the OS is or something?
  2. none of the above worked.. i stil can only run this program if i manually disable themese or set compatibility to winodws 95.. works fine on windows 7 and Vista only XP is giving me these problems.
  3. i still havent resloved it tryed all the codes above but my app will only work on vista, win7 on xp i just hear the faulty sound in the background and app exits. Setting manualy either disalbe themse or win compiability to win 95 it opens up just fine.
  4. I used this in my code Func Toggle_AERO_Style_On($toggle = True) ; Disable AERO effect on Vista and Win7 => MPlayer requires this ; http://msdn.microsoft.com/en-us/library ... 85%29.aspx Local Const $DWM_EC_DISABLECOMPOSITION = 0 Local Const $DWM_EC_ENABLECOMPOSITION = 1 If $toggle = True Then DllCall("dwmapi.dll", "hwnd", "DwmEnableComposition", "uint", $DWM_EC_DISABLECOMPOSITION) Else DllCall("dwmapi.dll", "hwnd", "DwmEnableComposition", "uint", $DWM_EC_ENABLECOMPOSITION) EndIf EndFunc ;==>Toggle_AERO_Style_On but application wont run but when i disable it manually then it runs dont know whats wrong
  5. Looks like this may do the trick if i disable themese.. i just have to test my app no on windowx xp, win7 and vista to see if its going to work thank you ill let you know my results.. if anybody has other methods please post. Func Toggle_AERO_Style_On($toggle = True) ; Disable AERO effect on Vista and Win7 => MPlayer requires this ; http://msdn.microsoft.com/en-us/library ... 85%29.aspx Local Const $DWM_EC_DISABLECOMPOSITION = 0 Local Const $DWM_EC_ENABLECOMPOSITION = 1 If $toggle = True Then DllCall("dwmapi.dll", "hwnd", "DwmEnableComposition", "uint", $DWM_EC_DISABLECOMPOSITION) Else DllCall("dwmapi.dll", "hwnd", "DwmEnableComposition", "uint", $DWM_EC_ENABLECOMPOSITION) EndIf EndFunc ;==>Toggle_AERO_Style_On
  6. Yeah this is .bat i dont like it i would rather like something implemented in the code
  7. I want to run my program by default with Compatibility set to Windows 2000. I made a little program but its having littl ebit of an issues running by defualt but when i right click it and set Compatibility mode to Windows 2000 it works fine.. Is there a way that i can define that in the code so it sets it self to Compatibility mode of Windows 2000 ? Basically to run in Compatibility mode by default without right clicking and changing it thank you.
  8. Ahh yes i am not very good with enligsh i ment phrasing is it possible to phrase it if so how ? :-) Thank you
  9. no purpose really i saw that you can do it in vb6 easyly so i was wondering why AutoIT cant do it maybe something like $ACALL = DllCall("kernel32.dll", "int", "WriteProcessMemory" alias bla bla but i am not an expert so dunno
  10. Is there a way to give an alias to writeprocess memory like to call it maybe "test" or WriteProcessMemoryA i am not sure how to do this to change its name or to link it somehow? Thanks $ACALL = DllCall("kernel32.dll", "int", "WriteProcessMemory"
×
×
  • Create New...