to LPDIRECTDRAWSURFACE3 or not to LPDIRECTDRAWSURFACE3

Started by
1 comment, last by SikCiv 24 years, 6 months ago
When Microsoft changes the version of the interface, like from LPDIRECTDRAWSURFACE2 to LPDIRECTDRAWSURFACE3, it's because the actual interface to it changed. Functions have been removed or added. If you want the extra functionality a new interface provides, you use it. Otherwise you're fine with using the old ones. There probably shouldn't be a performance increase.

Jonathan

Advertisement
Whats's the difference/advantages in using the LPDIRECTDRAWSURFACE3 interface instead of the original LPDIRECTDRAWSURFACE or LPDIRECTDRAWSURFACE2?

I have implemented the new interface in my app, with no performance increased noticed at all.

Is there a performance increase, or is it just a load of horse flatulence?

----;-(>

Another thing, after a few hours, and lots of 'Missing link' errors concerning the IID_IDirectDrawInterface parse in queryInterface(), I found out that you have to manually add the DXGUID.LIB library file when implementing the new interface. It would be good if there was some documentation in the SDK to tell people to do this ... but nooooooooooo...


-SikCiviC
-----------------------

  Downloads:  ZeroOne Realm

Better use directly LPDIRECTDRAWSURFACE7 and don't stay at version 1. DirectDraw's performance increased and there are also more features available.

CU

------------------
Skullpture Entertainment
#40842461

Graphix Coding @Skullpture Entertainmenthttp://www.skullpture.de

This topic is closed to new replies.

Advertisement