lovple 2016-01-18 13:49 采纳率: 0%
浏览 1714

C#调用C++动态库参数转换

用C#调用C++封装好dll,这个动态库的方法如下:long GetImageData( LPCTSTR i_strImageID, long i_nPhysicalX, float i_fMag,
long *o_nPhysicalWidth, long *o_nPhysicalHeight, void *i_pBuffer, long *io_nBufferSize) ,请问对应的C#方法参数如何写?

  • 写回答

3条回答 默认 最新

  • threenewbee 2016-01-18 14:00
    关注
     int GetImageData( StringBuileder i_strImageID, int i_nPhysicalX, float i_fMag, 
    ref int o_nPhysicalWidth, ref int o_nPhysicalHeight, intptr i_pBuffer, ref int io_nBufferSize) 
    
    评论

报告相同问题?