-
Does anyone know how you can get DirectDraw to work in the borland builder environment? It keeps giving me a linker error.[Linker Error] Unresolved external 'DirectDrawCreate' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER5\PROJECTS\UNIT1.OBJ
Thanks
-
Have you included ddraw.lib and dxguid.lib? I think that's solved problems for me in the past.
I mean add them to your project, not #include.
-
still a problem
It now gives me this linker error:
[Linker Error] 'C:\PROGRAM FILES\BORLAND\CBUILDER5\LIB\DDRAW.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
How can I fix this
Thanks!
-
Oh dear, that doesn't sound too good. Is that the ddraw.lib that came with the DirectX SDK? I mean, perhaps it's an old version of ddraw.lib that got installed when you installed Borland. I don't know, I'm guessing.