home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,640 of 2,978   
   Marco van de Voort to radu   
   Re: .exe file to text file and back   
   29 May 08 11:16:58   
   
   5ba96edc   
   From: marcov@stack.nl   
      
   On 2008-05-29, radu  wrote:   
   > i have to make 2 programs: a program that converts .exe or .dll   
   > or .zip etc. into text file and a program that reads same text file   
   > and writes same binary file back. example data.exe->data.txt-   
   >>(transfer)->data.txt->data.exe   
   > the final text file can look like 4d 5a 90 00 etc. or 1100010011110   
   > etc. or À¾Bÿ¾@e@ etc. or ascii(021) ascii(019) ascii(077)   
   > ascii(111), i dont care.   
      
   These have existed for aeons, search for uuencode/uudecode or mime/unmime.   
      
   > i found it very difficult reading binary files with blockread and how   
   > does it looks what it reads?   
      
   It doesn't. It reads binary, IOW it just looks up the address in memory of   
   whatever variable you pass, and starts banging  bytes into it. And it   
   doesn't care if it fits.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca