Hi guys
I've imported an API function like
[DllImport("gdi32.dll")]
private unsafe static extern bool SetDeviceGammaRamp(Int32 hdc, void* ramp);
while compiling its showing an error like
Unsafe code may only appear if compiling with /unsafe
how to compile with /unsafe
. i'm using Microsoft Visual Studio 2008
can any one help me with a better solution.
Thanks in advance.