Author | Message |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [815] access violation in FileEntry - posted: 2011-11-23 21:16:05 hi when trying to get each line from code buffer in FileEntry function i got access violation. here is the FileEntry code Code:
http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [816] - posted: 2011-11-23 21:21:00 Hi Emil Code:
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 | [817] - posted: 2011-11-23 21:28:25 after changing it to this Code:
ziron stop working and gave that Code:
http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [818] - posted: 2011-11-23 22:34:06 looks like your plugin is stuck in a loop in FileEntry... 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 | [823] - posted: 2011-11-24 18:55:07 i have modified it be like that Code:
but it crashing , what is the way to navigate throw the code in your opinion ? http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [826] - posted: 2011-11-24 19:14:46 It is probably crashing when strCode is below 8 bytes.. as for how i'd need to have a think about it, depends really what you need to do. Why do you need to know if it is the main file? If someone includes some of their own files, they would not be processed ? 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 | [827] - posted: 2011-11-24 19:18:06 no i did not want to process the main file only , but i have used that to prevent the crashing only. i need to navigate in all text code ' the main and including file as well' http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [829] - posted: 2011-11-24 19:51:06 in your getnextline function probably you need to check for null byte before adding your incr.. here: Code:
Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Currently Active Users: There are currently 5 user(s) online. 0 member(s) and 5 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 |