Closed Thread
Results 1 to 2 of 2

Thread: upgrading directx from 7 to 8

  1. #1
    lapta is offline Newbie
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    0

    upgrading directx from 7 to 8

    Hi.

    I am not a coder by any means, but i am trying lol.

    I have been using delphi 7 to work on an exsiting project, and so far everthinghas gone ok.

    At the moment i am trying to convert from 800 by 600 to 1024 by 768.

    I have managed to change the res ok, need to realine everthing but thats not a problem, but when i built the project i got a lot of warning all related to directx.pas About unsafe pointers. I have no idea what this means, and at the moment dont really care as everything seems to be working ok.

    The point is, how hard would it be to upgrade my project from directx 7 to directx 8.

    Not sure wat verison of directx 7 i am using, or if there are differant verisons, but these are the details i have for directX

    * Present unit:
    * DirectX.pas DirectX 7 (DirectX 7 SDK)
    * DShow.pas DirectShow (DirectX Media SDK 5.1)
    * DAnim.pas DirectAnimation (DirectX Media SDK 5.1)
    DirectX header version 98.11.20

    Any help would be great.

    Thanks

    Lapta

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Ewe Loon's Avatar
    Ewe Loon is offline Learning Programmer
    Join Date
    Feb 2010
    Posts
    49
    Rep Power
    0

    Re: upgrading directx from 7 to 8

    unsafe pointer are untyped pointers
    Code:
    a:pointer;   // is unsafe , the data type is unknown making it unsafe
    a:PInteger;  // is safe    ,  the data type is an integer
    a:PByteArray;// is safe     , the data type is an array of bytes
    you can turn Unsafe pointer messages by going to "Project" Menu, "Options" , "Compiler Messages" tab,
    at the bottom you will find "Unsafe Type" , uncheck it to stop warnings about unsafe pointers

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. DirectX SDK
    By Tonchi in forum C# Programming
    Replies: 10
    Last Post: 06-12-2011, 06:39 AM
  2. 2.6.4 Issue after Upgrading
    By codeLoad in forum Python
    Replies: 1
    Last Post: 03-05-2010, 08:25 AM
  3. Upgrading to version 5!
    By Lop in forum PHP Development
    Replies: 3
    Last Post: 04-16-2007, 09:46 PM
  4. Need Help Upgrading P4T533c
    By Tetor in forum Computer Hardware
    Replies: 1
    Last Post: 03-05-2007, 06:01 AM

Tags for this Thread

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