Skip to main content
GameDev.net gamedev.net
🔒 Locked

IDirectDrawSurface ?! I can't compile?!

Started by nothing Dec 12, 2004 at 5:10 PM 3 replies 3.4k views
Original Post
nothing
nothing
When I try to compile code I recieve that: [Error] DirectX.pas(101): Type 'IDirectDrawSurface' needs finalization - not allowed in variant record [Error] DirectX.pas(103): Type 'IDirectDrawSurface' needs finalization - not allowed in variant record [Error] DirectX.pas(108): Type 'IDirectDrawSurface' needs finalization - not allowed in variant record [Error] DirectX.pas(110): Type 'IDirectDrawSurface' needs finalization - not allowed in variant record [Error] DirectX.pas(124): Type 'IDirectDrawSurface' needs finalization - not allowed in variant record [Error] DirectX.pas(247): Type 'IDirectDrawSurface' needs finalization - not allowed in variant record [Error] DirectX.pas(249): Type 'IDirectDrawSurface' needs finalization - not allowed in variant record [Fatal Error] DXClass.pas(6): Could not compile used unit 'DirectX.pas' Where's the problem? Can anybody help me fix it? In tutorial that is not writen.
nothing
nothing
I use Delphi 6.
Dmen_Ken
Dmen_Ken
Dude! Thats my post! It says its A. Posters!

Someone needs to change that!

Oh yeah you can MOD the DEV-C++ with Delphi.
Check out my game project!FalerAnd my CompanyGood Luck Studios
stevie56
stevie56
DXClass.PAS is, I think, a DelphiX file?

If it is, then you are probably using the wrong version for D6.

If it isn’t DelphiX, you need to offer more information on your setup.

StevieDon't follow me, I'm lost.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.