Original Post
Im building a mail program (visual C++). It works great, but now I have to add a attachment option.
OK, First I open the file and read it. Then it uses Base64. The problem is; When I attach an exe file, only the first 3 bytes will be added. This is because the 4th character is nothing (chr(0), %00, 00h, u know?!). How can I solve this?