摘要: 使用StringBuilder,举例:C++代码中函数定义如下:PVPOWERFORCASTDLL_API int PVPowerForcast(SForcastInfo &_ForcastInfo,char* DatePtr,char* Dir)C#代码中这样使用: [DllImport("PVPowerForcastDll.dll", EntryPoint = "PVPowerForcast", CallingConvention = CallingConvention.Cdecl)] private static extern int PV 阅读全文
posted @ 2013-11-14 09:28 肖璟 阅读(1395) 评论(0) 推荐(0) 编辑