摘要:
最近接手一个项目,主要是vc6的dll 给c#调用,就是为了用现成的dll,免得重新用c#开发主要涉及参数传递和内存释放的问题。vc6部分==================头文件部分#ifdef __cplusplusextern "C" {#endif__declspec(dllexport)char* getStringValue();#ifdef __cplusplus}#endif源文件部分char* getStringValue(){.... //有人说要 static char *strdata = new char[size]; char *strdata 阅读全文
posted @ 2013-08-02 16:04
leenuxqt
阅读(5055)
评论(1)
推荐(2)

浙公网安备 33010602011771号