Archived

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

Newbie ? Wrapper

This topic is 6109 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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