Page 1 of 1

assign array of data bytes to CGapiSurface

PostPosted: Dec 18, 2002 @ 9:22am
by Donovan
hi,
i have a problem. i have an array of data bytes say 100x100 and i wish to assign to the mem buffer (CGapiSurface) during the creation so that i can do fast bitblt later. i dun want to use setpixels as its still slow.

for this, i can do it in C++ thru the GDI method...(create bmp with data array assigned-> select into device context->bitblt)

hence, how can i do it GAPIDRAW??? :?