Original Post
I'm trying to convert my directdraw functions from c++ to c. But I get this errors: error C2440: 'function' : cannot convert from 'const GUID' to 'const IID *const ' warning C4024: 'DirectDrawCreateEx' : different types for formal and actual parameter 3 coming from this line: DirectDrawCreateEx(NULL,(void**)&lpdd,IID_IDirectDraw7,NULL) Now this function works fine in c++, but how do I implement this function in c?