_MEM routines are the way. In my programs (namely InForm) I dump the image from memory into a file on disk, pass it through Dav's BAS2BIN (thanks again!) and then, at run time, I unpack it into a string which I finally inject into a _NEWIMAGE using _MEM routines.