Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / Requests and Feedback

data section.

A community discussion post from the original code:zIRON forum.

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

ok, i've re-updated the beta package and that should hopefully fix the windows 7 problem :)

should no longer need to check for strCode <> 0

procedure FileEntry(DWord handle; char* strCode) {
	eax = strOffset(strCode, '.DATA');
	while (char[eax] <> 0) {
		char[eax] = "_";
		eax = strOffset(eax, '.DATA');
	}  
}

this should be good enough :)

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

ok , i have add this test and may be help you.

procedure FileEntry(DWord handle; char* strCode) {
  if (strCode <> 0) {
     eax = strOffset(strCode, '.DATA');
     while (char[eax] <> 0) {
            char[eax] = "_";
            eax = strOffset(eax, '.DATA');
     }
   }  
  pointer fn;
  
  fn = Ziron_GetFileName(handle);
  Ziron_ShowMessage(fn);  
  Ziron_ShowMessage(strCode);     
}

resultes

PlugSys: Emit plugin has loaded! PlugSys: Masm plugin has loaded! PlugSys: testprg.zir PlugSys: PlugSys: testprg.zir PlugSys: PlugSys: testprg.zir PlugSys: PlugSys: testprg.zir PlugSys: PlugSys: testprg.zir PlugSys: PlugSys: testprg.zir PlugSys: PlugSys: testprg.zir PlugSys: PlugSys: testprg.zir PlugSys: [6,3]: Unknown Identifier "." in [testprg.zir] Code: .DATA var DB 64

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

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

oh i will test it now

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

this happens from the fix i just updated?

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

is it in this location 'RE: RE: updated alpha'

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

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

well , works , thank you

i will continue masm plugin.

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

glad to hear :) thanks for bringing that problem to my attention.