关于C#调用c的dll是的问题
#define IMAGE_WIDTH (352)
#define IMAGE_HEIGHT (288)
uint8_t frameData[65536];
uint8_t imageRGB[IMAGE_WIDTH* IMAGE_HEIGHT*3];
void* g_dec_handler = h264_dec_init();
if(!g_dec_handler) return FALSE;
//开始解码
while(1){。。。。。。。。。。。。。。。。。。
我现在的改写的C#代码是static void Main(string[] args)
{
const int IMAGE_WIDTH =352;
const int IMAGE_HEIGHT=288;
byte [] frameData;
frameData =new byte [65536];
byte[] imageRGB;
imageRGB = new byte[IMAGE_WIDTH * IMAGE_HEIGHT * 3];
下面就有问题了。。不知怎么写了。。。求大侠解释。在线等。