Should a managed class that wraps a DirectSound interface be IDisposable?

Posted by CannibalSmith on Stack Overflow See other posts from Stack Overflow or by CannibalSmith
Published on 2010-06-18T13:38:53Z Indexed on 2010/06/18 15:43 UTC
Read the original article Hit count: 359

Filed under:
|
|

I'm writing a managed wrapper around DirectSound. (It's a simple partial wrapper that solves my specific problem and nothing more. Don't tell me about NAudio or whatever.) Should a managed class that wraps IDirectSound8 be IDisposable and why? Same question about IDirectSoundBuffer8.

© Stack Overflow or respective owner

Related posts about c++-cli

Related posts about idisposable