hi its me again,
Uhrwerks code seems to make sense, except that the compiler comlains that there is an invalid pointer. here the modified code. i tried to save the buffer in a file to look whats exactly in it. but didnt worked out so far.
here the code:

byte* yourImageBytes = server_push;
//Add the image data to the engine's buffer.
add_buffer("mybitmap.bmp",yourImageBytes,6400);
//Now you can load from this buffer
BMAP* bmapToDisplay = bmap_create("mybitmap.bmp");
//Don't forget to release the buffer
add_buffer("mybitmap.bmp",NULL,6400);

var file7 = file_open_read("mybitmap.bmp");
var file8 = file_open_write("i:/in/bild0-buffer.txt");
var file_size7;
file_size7=file_length(file7);
int counter33;
int buff;
while (counter33 < file_size)
{

buff=file_asc_read(file7);
file_asc_write(file8,buff);
counter33++;
wait(1);
}


Last edited by pjotr987; 12/20/12 19:35.