Topic created on: August 12, 2011 06:55 CDT by wilkux .
i would like to copy the code of my application to the file. I'm interested only in the text segment. I wrote a very simple application which should pull out the code. Here is function which is responsible for creating a copy: http://pastebin.pl/46528
Unfortunately it doesn't copy the whole text segment. The text code is copied except the beginning: http://pastebin.com/dvXzfNXP.
What I am doing wrong?