Jump to content

pixels75

Active Members
  • Posts

    28
  • Joined

  • Last visited

About pixels75

  • Birthday 05/26/1961

Profile Information

  • Location
    Paris, France

pixels75's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. After seven years, a new version of Resource Hacker is on line on Angus Johnson Web Site. What's new ? PNG display and 64bits support ! Cheers ! Pixels75
  2. Perfect, thanks a lot !
  3. Hi Folks, I'm trying to read MUI strings from DLL. It's the purpose of the SHLoadIndirectString function. I'm trying this kind of code Local $data = "@%SystemRoot%\System32\SysClass.Dll,-3001" Local $indata = DllStructCreate("char[" & StringLen($data) + 1 & "]") DllStructSetData($indata, 1, $data) $rc = DllCall("Shlwapi.dll", "int", "SHLoadIndirectString", _ "ptr", DllStructGetPtr($indata), _ "ptr", DllStructGetPtr($indata), _ "int", StringLen($data), _ "int", 0) MsgBox(0,"", $indata) But with no success. Any idea ? Thanks !
  4. Cool job, nicely done !
  5. You're welcome.I'm in France too
  6. Try Run(@ComSpec & " /C explorer " & @WorkingDir & ",/separate") It works for me !
  7. You're right ! I've done that quickly
  8. Func Flush($folder) Local $search, $file, $attrib $search = FileFindFirstFile($folder & "\*.*") If $search <> -1 Then While 1 $file = FileFindNextFile($search) If @error Then ExitLoop $attrib = FileGetAttrib($folder & "\" & $file) If StringInStr($attrib, "D") Then DirRemove($folder & "\" & $file) Else FileDelete($folder & "\" & $file) EndIf Wend EndIf EndFunc
  9. The first line read the value of the key AppData on the registry, that's the location of your profile The second line build the path of the ini file based on the profile And I forget the _FileGetFName function for geting the name of the script without the extension... Func _FileGetFName($szPath) Local $i, $dir, $fname, $ext ; Set the directory and file name if present For $i = StringLen($szPath) To 0 Step - 1 If StringMid($szPath, $i, 1) = "\" Or StringMid($szPath, $i, 1) = "/" Then $dir = StringLeft($szPath, $i) $fname = StringRight($szPath, StringLen($szPath) - $i) ExitLoop EndIf Next ; If $szDir wasn't set, then the whole path must just be a file, so set the filename If StringLen($dir) = 0 Then $fname = $szPath ; Check the filename for an extension and set it For $i = StringLen($fname) To 0 Step - 1 If StringMid($fname, $i, 1) = "." Then $ext = StringRight($fname, StringLen($fname) - ($i - 1)) $fname = StringLeft($fname, $i - 1) ExitLoop EndIf Next Return $fname EndFunc
  10. Because in Vista you're not admin by default. I think you don't have the right to write in Program Files. The good practice is to use the user profile. I use this kind of syntax in Windows XP : $AppData = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "AppData") $sIni = $AppData & "\" & _FileGetFName(@ScriptName) & ".ini"
  11. Seach Disassembler with Google, you can find "IDA Pro Freeware" by example...
  12. The name of the exe is based on the name of the au3 file name.If you want a different name, use the AutoIt3Wrapper directives on the top of your script. #Region AutoIt3Wrapper directives section #AutoIt3Wrapper_Icon=MyIcon.ico #AutoIt3Wrapper_OutFile=MyExe.exe #AutoIt3Wrapper_OutFile_Type=exe #EndRegion And compile your script with AutoIt3Wrapper (with a right clic on it)
  13. If it's just for HKLM, no problem, it works, I use that at my office.
  14. Even with "Save As" in menu... Back with the previous version for the moment...
  15. Oops, my mistake...BTW, with KODA 1.6.1.9 (beta), I'm stuck, when I try to save a form, to an error message "Cannot open file "C:\...\dump". Any idea ? Thanks...
×
×
  • Create New...