110,534
社区成员
发帖
与我相关
我的任务
分享
[System.Runtime.InteropServices.DllImport(@"D:\新整理\开发\MSC++\PCLLibs\PCLTest\Debug\PCLTest.dll", EntryPoint = "PLYConvert", CallingConvention = CallingConvention.Cdecl)]
public extern static int PLYConvert(string pcdPath, string savePath, float searchRadius, float mu, int nearestNeighbors);
private void Form1_Load(object sender, EventArgs e)
{
PLYConvert(@"D:\新整理\安装与资源\点云数据集\PCDdata\bunny.pcd", @"d:\bunny.ply", 15.0f, 5.0f, 100);
MessageBox.Show("ok");
}
Dump of file pcltest.dll
File Type: DLL
Section contains the following exports for PCLTest.dll
00000000 characteristics
5B3603A8 time date stamp Fri Jun 29 18:02:16 2018
0.00 version
1 ordinal base
1 number of functions
1 number of names
ordinal hint RVA name
1 0 000444C5 PLYConvert = @ILT+17600(_PLYConvert)
Summary
3000 .data
5000 .idata
18000 .rdata
5000 .reloc
1000 .rsrc
8B000 .text
3F000 .textbss
1000 .tls
[System.Runtime.InteropServices.DllImport(@"PCLTest.dll")]
public extern static int PLYConvert(byte[] pcdPath, byte[] savePath, float searchRadius, float mu, int nearestNeighbors);
extern "C" __declspec(dllexport) int PLYConvert(string pcdPath, string savePath, float searchRadius, float mu, int nearestNeighbors);