Original Post
Hi, i'm having a problem in surface blitting function, i created a primary surface, backbuffer surface ( ignore about this first ), and an offscreen surface, and i attached a bitmap and blit into the offscreen surface, but when i use the Blt() function provided by the IDirectDrawSurface7, the primary surface is not showing anything. And so later i tried to retrieve the DC using offscreen->GetDC(&dcOffscreen) and using the GDI function BitBlt(dcPrimary, 0, 0, 640, 480, dcOffscreen, 0, 0, SRCCOPY); amazingly, it worked!! What is going on here? is the function Blt() provided by the DDS7 is causing me trouble or anything? I am sure the surfaces created successfully and is following what the book told me ( i did even double check with the code provided on web ). so what's actually happening here? any clue about this? Thanks in advance. Regards, Daniel.