Author | Message |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [324] - posted: 2011-11-04 21:39:59 can you confirm your strcat function is working correctly? 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 | [325] - posted: 2011-11-04 21:46:54 yes , H_strcpy is okay , but H_strcat crashed. http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [326] - posted: 2011-11-04 22:16:06 here is a the new strAppend function that will be added to the new string.zir file, most str functions will be moved to that file Code:
very simple usage: you pass your buffer, the string you want to append, and the maximum buffer length, the function will return false on failure and true on success. e.g. Code:
the output will be: 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 | [327] - posted: 2011-11-04 22:32:01 very strange , the same error Code:
http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [328] - posted: 2011-11-04 22:35:44 i will try compile your function and give it a shot, does it give any error without any string appending? 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 | [329] - posted: 2011-11-04 22:38:14 no , only access violation. http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [330] - posted: 2011-11-04 22:44:46 lol i see problem Code:
Ziron_ShowMessage is changing eax value, just remove the call to Ziron_ShowMessage(eax) 1 other thing, you should initialize buf in case it is filled with junk. 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 | [331] - posted: 2011-11-04 22:48:42 oh , what a logical error..... anyway thank you very much for you good supports. http://www.freewebs.com/ogremagic/index.htm |
Currently Active Users: There are currently 14 user(s) online. 0 member(s) and 14 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 |