Hi,
I've just downloaded Pelles C and experimented a little with it. I'm really impressed with the quality of it!
However, I am at a loss as to how I the windows API is used from standard C. I've learned from the examples, but now I'm stuck with a specific call:
hr = SetCooperativeLevel(hwnd, DDSCL_FULLSCREEN);
The linker says "Unresolved external symbol: SetCooperativeLevel".
I've included "ceddraw.h" where the function is defined with a:
STDMETHOD(SetCooperativeLevel)(THIS_ HWND,DWORD) PURE;
Could anyone advice my on what is wrong here?
Generally speaking I find that most of the available documentation is written for C++. Is there any general advice on how to port a C++ example to C?
Thanks,
Jakob