Archived

This topic is now archived and is closed to further replies.

datoolman

Newbie ? Wrapper

Recommended Posts

acraig    471
quote:
Original post by datoolman
Is it just a compilation of commands wrapped into a new call or command ?



Yeah. That''s pretty much it. It usually involves taking a lot of lower level functions and wrapping in them into one (or more) high level function(s). For example, in DirectDraw you have to do a buncha stuff to set up. You could write one function that would wrap all this setup into one easy to remember function.

-------
Andrew

Share this post


Link to post
Share on other sites
Landsknecht    234
A lot of wrappers are also implemented as objects so that they can clean up after themselves to. I am working on a simple set of wrapper classes for my own use right now and it is simplifying my work enormously. Speaking of which, does anybody know where to get the CDX library anymore?

Thanks,
Landsknecht

Share this post


Link to post
Share on other sites