-> I am making a program that uses lots of graphics.
->
-> But then how can you make memory access direct, the mem array dosn't
-> work in delphi (pascal only).
-> I have seen in the online help that there are Win32 api functions
-> for that, but i can't find any??
->
-> And where does the screen memory start (so you are able to write to
-> the screen directly) and what system does windows use for addressing
-> memory???
Christian,
Writing directly to the hardware (the screen included) is not
recommended in Windows. Not only can it cause problems, but it can also
cause your app not to be very compatible between systems and versions of
Windows. In NT, it won't usually let a program near the hardware anyway.
You need to write device drivers to get to the hardware or use API
calls. For graphics, you may want to look at DirectX assuming you are
using Delphi 2 or higher.
I am not a graphics expert, so you will need to get feedback from others
here if you need more info.
Steve
--- HyperMail! v1.22
---------------
* Origin: Omni - (916) 388-0905, longest running Sac BBS (1:203/3333)
|