Results 1 to 4 of 4

Thread: DDraw with C++ Builder 5.0

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Posts
    89
    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

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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.
    Harry.

    "From one thing, know ten thousand things."

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Posts
    89

    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!

  4. #4
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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.
    Harry.

    "From one thing, know ten thousand things."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width