Original Post
I''m trying to lock a surface so I can load a bitmap onto it, but each time I run the program it fails right after the lock. I thought their might be an error, so I checked the lock for return values and it gave me DD_OK. So I''m wondering how can I have DD_OK and a program error? Oh, I''ve been getting this error every time I try to lock the surface in a member fuction of a class. Using visual c++ and DirectX 7.