hi,
it seems gapidraw fails on loading a file on a surface,
does anybody know how to solve this problem?
the code crashes on CreateSurface();
there are no debuggers, i can't check the return value because my code crashes.
i am using an EXE format.
thanks.!
it seems gapidraw fails on loading a file on a surface,
does anybody know how to solve this problem?
- Code:
CGapiSurface* m_pic=new CGapiSurface();
m_pic->CreateSurface(GDSURFACE_SYSTEMMEMORY, TEXT("E:\\MyDir\\Pong.png"));
m_pic->SetColorKey(RGB(255, 0, 255));
the code crashes on CreateSurface();
there are no debuggers, i can't check the return value because my code crashes.
i am using an EXE format.
thanks.!
