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
upgrading directx from 7 to 8
Started by lapta, Mar 06 2010 07:58 AM
1 reply to this topic
#1
Posted 06 March 2010 - 07:58 AM
|
|
|
#2
Posted 06 March 2010 - 09:57 PM
unsafe pointer are untyped pointers
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
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


Sign In
Create Account

Back to top









