Hi,
The new dxgraphics module will cause problems with any apps that depended on low level details of the old one.
These will need to be rewritten, using the following:
D3D7GraphicsDriver().DirectDraw7()
D3D7GraphicsDriver().Direct3D7()
D3D7GraphicsDriver().Direct3DDevice7()
In addition, there is a global 'IsValid' flag:
TD3D7GraphicsDriver.IsValid
If this is true, then you can safely use the above objects. Otherwise, you can't. Best to check this at the entry to any function that wants to use one of the above objects.
Finally, use GetActiveWindow() if you really need the graphics HWND.
The new dxgraphics module will cause problems with any apps that depended on low level details of the old one.
These will need to be rewritten, using the following:
D3D7GraphicsDriver().DirectDraw7()
D3D7GraphicsDriver().Direct3D7()
D3D7GraphicsDriver().Direct3DDevice7()
In addition, there is a global 'IsValid' flag:
TD3D7GraphicsDriver.IsValid
If this is true, then you can safely use the above objects. Otherwise, you can't. Best to check this at the entry to any function that wants to use one of the above objects.
Finally, use GetActiveWindow() if you really need the graphics HWND.