The Old New Thing

When you create an object with constraints, you have to make sure everybody who uses the object understands those constraints

Here's a question that came from a customer. This particular example involves managed code, but don't let that distract you from the point of the exercise. I am trying to create a object using the constructor that takes an as input. In my .cs file, I create the native file handle using , as shown below. Then I create the object as so...