Colin
admin
Posts
928
Threads
49
Location
Bulgaria
Post #854
2011-11-26 21:13:07 UTC
are you sure you updated the strGetLine function as i posted just before? i compiled your code exactly as you pasted it and it works perfectly...
this was without the second register function:
and this is when i uncomment the register keyword _While:
i'm guessing you did not update the function
function strGetLine(pointer strOff; pointer dest) {
uses esi edi;
esi = strOff;
if (char[esi] == 0) {
return 0;
}
edi = dest;
lodsb
repeat {
if (al == 0) {
esi--;
break;
} elseif (al == 13 and char[esi] == 10) {
esi += 2;
break;
}
char[edi] = al;
edi++;
lodsb
};
char[edi] = 0;
return esi;
}
Emil_halim
member
Posts
639
Threads
104
Location
Alex, Egypt
Post #855
2011-11-26 21:35:53 UTC
ok , when update the new function FileEntry it works okay , but when uncomment the line that register the keyword _While ziron refuses to load masm plugin.
try to test it with win7 computer you may see my problem?
http://www.freewebs.com/ogremagic/index.htm
Colin
admin
Posts
928
Threads
49
Location
Bulgaria
Post #856
2011-11-26 21:48:45 UTC
ok just tested in win7 and i still get no error, i've noticed some small mistake in code so i will fix it then i will update the beta package to see if this solves your issue, i will re-post here as soon as i'm done.
Colin
admin
Posts
928
Threads
49
Location
Bulgaria
Post #857
2011-11-26 21:51:14 UTC
ok i've updated the beta package, the strGetLine is inside strings.zir already.
Emil_halim
member
Posts
639
Threads
104
Location
Alex, Egypt
Post #858
2011-11-26 21:52:54 UTC
oh , i tried it many times and got the same error.
if you please send me a copy of compiled version masm e.g masm.dll to me to test it.
http://www.freewebs.com/ogremagic/index.htm
Emil_halim
member
Posts
639
Threads
104
Location
Alex, Egypt
Post #860
2011-11-26 21:56:59 UTC
ok , it works , that mean i did not use the latest Ziron version
http://www.freewebs.com/ogremagic/index.htm
Colin
admin
Posts
928
Threads
49
Location
Bulgaria
Post #861
2011-11-26 21:58:51 UTC
glad to hear it is working :)