unsafe { byte* p = (byte*)(void*)ScanL; } 咋看都像C#阿,谁说这是C++
是C#? 那为啥会报错呢?unsafe
找到了 To set this compiler option in the Visual Studio development environment1.Open the project's Properties page. For details, see How to: Set Project Properties (C#, J#).2.Click the Build property page.3.Select the Allow Unsafe Code check box.
{
byte* p = (byte*)(void*)ScanL;
}
咋看都像C#阿,谁说这是C++
那为啥会报错呢?unsafe
To set this compiler option in the Visual Studio development environment1.Open the project's Properties page. For details, see How to: Set Project Properties (C#, J#).2.Click the Build property page.3.Select the Allow Unsafe Code check box.