Jump to content

Chaym

Active Members
  • Posts

    45
  • Joined

  • Last visited

Recent Profile Visitors

192 profile views
  • wyf

Chaym's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thank you jchd very much, saving as UTF8 solved the problem.
  2. I can show you the difference - on left side is SciTe Version 4.1.2. on rught side is SciTe Version 3.6.6 - You can see the Hebrew fonts
  3. I updated SciTe4AutoIt3 to last version 2-1-2019 (191.102.1091.0) I've noticed that some au3 files that included strings in Hebrew (right to left writing) are not shown in Hebrew but some strange characters. I reinstalled the previous version (2016) and the Hebrew string returned...Is there any isuuse with the last version?
  4. I think you are right Jos. I mapped all the processes that are not passing ProcessGetStats(ProcessName) to see what authorization is missing. I'm looking at Process properties in task manger, in TAB 'Security' to see if can find the problem It seems that all the processes that are not passing ProcessGetStats are also services....
  5. FrancescoDiMuro It is not working. It fails in line: $arrProcessStats = ProcessGetStats($arrProcessList[$i][1], $PROCESS_STATS_MEMORY)
  6. I am not that experienced to do that. I've noticed that I get this error only with process that is also a service. I'll try your example. Thank you.
  7. My mistake. Changing Log On Account did not help...
  8. Well, I changed in Log On tab to the check box to This account and entered the login account. It works for windows 7, But not work for windows 10. Any idea? Thank you.
  9. Yes, I get the PID but no information. I need to check the amount of memory the process uses (not the one in this example), IO info, etc... to see if there are memory or resource leaks. What should I do to get access to this services? Thank you...
  10. I tried now (again) with #RequireAdmin , it won't work. What do you mean "Under which credentials "? Can you explain please, from where can I see the credentials? I added print screen of task manger, in case it helps... I checked some processes. It seems that process where the user name in task manager is the login user name to windows (pos) are recognized. and the rest user names like SYSTEM and else are failing. What cad I do about that ?
  11. Here is the code (very simple) Local $ProcessName = "sqlservr.exe" Local $SQLPID = ProcessExists($ProcessName) WriteToLog($LogFileHandle, $ProcessName & ": $SQLPID = "&$SQLPID, $Append) Local $SqlMemArray = ProcessGetStats($SQLPID, 0) ;Memory Info's Local $ProcessStatusErr = @error WriteToLog($LogFileHandle, $ProcessName&" PID: "&$SQLPID&" / @error: "&$ProcessStatusErr, $Append) If Not IsArray($SqlMemArray) Then WriteToLog($LogFileHandle, $ProcessName&" Error: "&$ProcessStatusErr&" - PID: "&$SQLPID&" Not Found - Program terminated", $Append) ShowMess($HebStop, $ProcessName&" Error", $ProcessName&" Not found", -1) Else EndIf In WindowsXP OS it passes the If Not IsArray($SqlMemArray) In Widows 7 And Windows 10 it not passes, I Get @error=1 Thank you Chaim
  12. Well, using If IsArray I get an error, the array is empty... Any ideas?
  13. OK!, I'll try that...
  14. Of course I see the Service And it's PID on task manager. It's an internal private service I use at work. "The existence of the process is checked with $SRVPID = ProcessExists($SrvName) " I do an boolean check on @error flag. ProcessGetStats() function sets non zero value on Failure (Array is empty) Auto version in 3.3.14.2 Thank you...
×
×
  • Create New...