I'm writing a small program using DirectDraw7 using Dev-C++. It all seems to be correct, but it throws up this
when i try to compile.Code:173 C:\Documents and Settings\administrator\My Documents\Projects\Ultima Online\main.cpp no matching function for call to `IDirectDraw::CreateSurface(
here is the declaration:
and here is the offending lineCode:LPDIRECTDRAW lpDD;
any thoughts?Code:ddrval = lpDD->CreateSurface( &ddsd, &DDSPrimary, NULL );