View Single Post
  #2  
Old 18-06-2024, 19:07
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by demon964 View Post


hi.

1) why its opening calculator automatically?

2) why this error?
You must have commented or deleted the line:
Code:
#define public GameSizeMB ????
Or you may have deleted the lines:
Code:
#define MbToBytes(int Value) \
  Local[0] = AddBackSlash(GetEnv("TEMP")) + GetDateTimeString('yyyy/mm/dd-hh:nn:ss', '.', '.') + "_tmp.ISPP", \
  Local[1] = """" + AddBackslash(SourcePath) + "Resources\Includes\Calc.exe"" " + Str(Value) + " * 1024 * 1024 > """ + Local[0] + """", \
  Exec(GetEnv("ComSpec"), "/C """ + Local[1] + """", "", 1, SW_HIDE), \
  Local[2] = FileOpen(Local[0]), FileOpen(Local[0]), \
  Local[3] = FileRead(Local[2]), FileClose(Local[2]), \
  DeleteFile(Local[0]), Local[3]
Check if this is at the beginning of your script.
Reply With Quote