Register | Login
Forum Index > Bugs and Fixes > access violation in FileEntry
Author Message
Pages: 1 2 3 4 5 6 7
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[854] - posted: 2011-11-26 21:13:07
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

Code:
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;
}


Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[855] - posted: 2011-11-26 21:35:53
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
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[856] - posted: 2011-11-26 21:48:45
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.



Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[857] - posted: 2011-11-26 21:51:14
ok i've updated the beta package, the strGetLine is inside strings.zir already.

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[858] - posted: 2011-11-26 21:52:54
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
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[859] - posted: 2011-11-26 21:54:35
sure click here

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[860] - posted: 2011-11-26 21:56:59
ok , it works , that mean i did not use the latest Ziron version

http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[861] - posted: 2011-11-26 21:58:51
glad to hear it is working smile

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Pages: 1 2 3 4 5 6 7
create new reply


Quick reply:

Message:



Currently Active Users:
There are currently 6 user(s) online. 0 member(s) and 6 guest(s)
Most users ever online was 1046, January 28, 2022, 2:08 pm.


Statistics:
Threads: 225 | Posts: 1848 | Members: 51 | Active Members: 51
Welcome to our newest member, yecate
const Copyright = '2011-2024 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd