Hallo. I'm just trying to learn DirectDraw, but am having something of a problem from the outset with the linker.
But first, what I have got, to eliminate that.
I have got "ddraw.dll" and "dsound.dll" in the correct place (I haven't monkeyed with them, as they were already there).
I have #included <ddraw.h> at the top of my form.
I have an LPDIRECTDRAW called lpDD.
I have an HRESULT called retval.
My problem is, when I try to call DirectDrawCreate in my form (on a button click), I get an unresolved external linker error.
Anybody got any hints as to what to do with this?
Douglas JL
Common sense is what tells you the world is flat.
But first, what I have got, to eliminate that.
I have got "ddraw.dll" and "dsound.dll" in the correct place (I haven't monkeyed with them, as they were already there).
I have #included <ddraw.h> at the top of my form.
I have an LPDIRECTDRAW called lpDD.
I have an HRESULT called retval.
My problem is, when I try to call DirectDrawCreate in my form (on a button click), I get an unresolved external linker error.
Anybody got any hints as to what to do with this?
Douglas JL
Common sense is what tells you the world is flat.