can you open the log.txt file and paste the bottom output?
data section.
A community discussion post from the original code:zIRON forum.
Replies
sorry i see you did before
PlugSys: Emit plugin has loaded!
PlugSys: Masm plugin has loaded!
[6,3]: Unknown Identifier "." in [testprg.zir]
Code:
.DATA var DB 64
hmmm
ok , i have reinstalled it in new folder but the same error
here is the entire log file , run only one time
Ziron Compiler 1.1.27.6 Copyright (C) 2011. OverHertz Ltd. All rights reserved. -------------------------------------------- 11/12/2011 6:09:52 PM -------------------------------------------- Compile OK - 896 lines, 0.016 second(s) Link OK - 0 second(s) Build Complete - 0 second(s) -------------------------------------------- Press the [enter] key to exit. Ziron Compiler 1.1.27.6 Copyright (C) 2011. OverHertz Ltd. All rights reserved. -------------------------------------------- 11/12/2011 6:10:02 PM -------------------------------------------- PlugSys: Emit plugin has loaded! PlugSys: Masm plugin has loaded! [6,3]: Unknown Identifier "." in [testprg.zir] Code: .DATA var DB 64 -------------------------------------------- Press the [enter] key to exit.
the first one for masm.zir and the second for testprg.zir
http://www.freewebs.com/ogremagic/index.htm
what OS do you run? windows 7?
ok, i'll fire up my win7 dev machine and try compile and run from there, but i don't think that could be a problem, but best to test, will let you know asap.
ok it seems to be a win7 issue, i'm guessing windows 7 has some restrictions on changing memory of another application, so probably to do with the char[eax] = "_" ....
you could try using the Ziron_SetFileBuffer, but you would need to dynamically create a buffer for the strCode, copying the code; you could try using strDup for that, then do the changes to your buffer and call SetFileBuffer.
disregard that last post, i'm going to look into what is the problem, actually the pointer to the buffer is not being passed at all, so it means something windows 7 does not like about ziron....i will fix it then let you know.