View Full Version : ImageBuffer.GetImageData Method unsafe for VB.NET?

October 25, 2004, 03:13:32
ImageBuffer.GetImageData Method is declared unsafe and cannot be used with VB.NET


why not? It would be very useful.

Stefan Geissler
October 25, 2004, 10:13:25

This is done unsafe, because you can perform pure pointer operations on it. Pointer operations are not realy well to handle in Visual Basic.
GetImageData() has been programmed unsafe, to allow fast image processing. "unsafe" is not available for Visual Basic .NET (see MSDN).