10-02-2015, 07:49 AM
I debug the .exe by writing parameter array to file x.txt
It works.
A surprising thing is, that when I change and write to y.txt instead
and a new .exe is created , it continues to write to x.txt
I have even created a new macro, erased all old .exe
Whatever I do it still writes to x.txt as if it was a hidden memory somewhere
The code is the following
spe 10
int w
ARRAY(str) a
ExeParseCommandLine(_command a)
run "$windows$\explorer.exe" a[0] "" "" 0x2800 win("" "CabinetWClass") w
siz val(a[1]) val(a[2]) w
str s=""
s.setfile("R:\DEV_QuickMacros\explorer\y.txt" -1 -1 1)
s.timeformat("{D} {TT}")
s.setfile("R:\DEV_QuickMacros\explorer\y.txt" -1 -1 1)
int i
for i 0 a.len
_s=a[i]; _s.setfile("R:\DEV_QuickMacros\explorer\y.txt" -1 -1 1)
It works.
A surprising thing is, that when I change and write to y.txt instead
and a new .exe is created , it continues to write to x.txt
I have even created a new macro, erased all old .exe
Whatever I do it still writes to x.txt as if it was a hidden memory somewhere
The code is the following
spe 10
int w
ARRAY(str) a
ExeParseCommandLine(_command a)
run "$windows$\explorer.exe" a[0] "" "" 0x2800 win("" "CabinetWClass") w
siz val(a[1]) val(a[2]) w
str s=""
s.setfile("R:\DEV_QuickMacros\explorer\y.txt" -1 -1 1)
s.timeformat("{D} {TT}")
s.setfile("R:\DEV_QuickMacros\explorer\y.txt" -1 -1 1)
int i
for i 0 a.len
_s=a[i]; _s.setfile("R:\DEV_QuickMacros\explorer\y.txt" -1 -1 1)