Author | Message |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [597] - posted: 2011-11-11 16:09:55 i have a solution first Masm plugin in preprocessor mode i can search for '.Data' then change it to '_Data' and register '_Data' as a function to parse what after it. http://www.freewebs.com/ogremagic/index.htm |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [598] - posted: 2011-11-11 16:47:34 oh , it seems that Ziron will process the file before plugin make the preprocess on that file so please can you allow plugin manipulate the file first? http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [599] - posted: 2011-11-11 16:59:51 no ziron does not process before plugin preprocess, so that is a good option. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [602] - posted: 2011-11-11 18:42:45 FileEntry plugin event is called before any processing is done from ziron, but of course you will need to use the Ziron_SetFileBuffer function to update the file before returning from the FileEntry function. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [604] - posted: 2011-11-11 18:59:22 if so, why Ziron will detect '.' and fire error befor plugin's FileEntry manipulate the file ? http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [607] - posted: 2011-11-11 19:14:56 It works fine... Code:
test code: Code:
maybe you forgot to export the FileEntry procedure? Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [608] - posted: 2011-11-11 19:19:55 oh , may be something in my code , any i will post it when back to home. http://www.freewebs.com/ogremagic/index.htm |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [610] - posted: 2011-11-11 20:12:40 here is the plugin code Code:
test program Code:
http://www.freewebs.com/ogremagic/index.htm |
Currently Active Users: There are currently 11 user(s) online. 0 member(s) and 11 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 |