Results 1 to 6 of 6

Thread: DirectX debugging

  1. #1
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    DirectX debugging

    So,

    Im able to render stuff on a AIT card, but on nVidia ist somehow a blank screen...

    So I checked clooie's site and downloaded new headers, installed new version of DX, same problem...

    But I was wondering how can I debug (check messages from DX) my app? I know I have to use something like DXErr9ab.dll? How can I enable that?

    Need help

    Thnx in advance
    NecroSOFT - End of line -

  2. #2
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    DirectX debugging

    Ok, I got it working.

    I installed DX SDK, and used dxcpl.exe to catch errors

    Anyway, I almost got the error... Something about "Stream 0 does not have required number of verticles"
    NecroSOFT - End of line -

  3. #3

    DirectX debugging

    DXErr9ab is for decoding error codes you are getting from DirectX. Are you checking them?

    May be easiest way actually is to download whole DirectX SDK from http://msdn.micorsoft.com/directx and install it. This way you'll get debug version of DirectX runtime installed (it behaviour is controlled by "..\Utilities\bin\x86\dxcpl.exe" applet). And later running your DirectX application will show you warnings/errors from DirectX in Output window of your Delphi IDE.

    --------------------
    ooops, I see you've found it by yourself
    There are only 10 types of people in this world; those who understand binary and those who don't.

  4. #4

    DirectX debugging

    So, reason for what - you are calling DrawPrimitive or DrawIndexedPrimitive with wrong number of primitives...
    There are only 10 types of people in this world; those who understand binary and those who don't.

  5. #5
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    DirectX debugging

    Yes, I sended the number of verticles instead of triangles , So dividing it by 3 worked for me

    (I used DrawPrimitive)

    Well, in any case I hope someone find it usefull this thread, as I feel a bit guilty when I just saw will's post on "A Quick Tutorial on Forum Useage. " http://www.pascalgamedevelopment.com...pic.php?t=4334

    Just kiddin'
    NecroSOFT - End of line -

  6. #6
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    DirectX debugging

    Jason McMillen
    Pascal Game Development
    Co-Founder





Bookmarks

Posting Permissions

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