Click to See Complete Forum and Search --> : DDraw with C++ Builder 5.0
Allanon
Dec 12th, 2000, 06:26 PM
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
HarryW
Dec 13th, 2000, 02:02 PM
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.
Allanon
Dec 13th, 2000, 05:38 PM
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!
HarryW
Dec 14th, 2000, 02:56 AM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.