This question is a result of this thread.
My question is, why do we have to specify the MarshalAs attribute for some of the parameters but not others? I would have thought the differences between c++ and c# data types would be large enough to require direction for the compiler?
Excuse my ignorance, as ive never dealt with unmanaged code before :)
Cheers, Adam