C#调用C#写的dll,可以通过[DllImport("a.dll")]
public static extern int SHGetFileInfo(string pszPath,uint dwFileAttributes,ref SHFILEINFO psfi,uint cbFileInfo, uint uFlags);
方式调用dll吗?(dll是C#写的)
我记得是通过引用,或是反射可以调用,这种方式好像是C#调用非托管代码写的dll
public static extern int SHGetFileInfo(string pszPath,uint dwFileAttributes,ref SHFILEINFO psfi,uint cbFileInfo, uint uFlags);
方式调用dll吗?(dll是C#写的)
我记得是通过引用,或是反射可以调用,这种方式好像是C#调用非托管代码写的dll
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货