DLL C++
1 2 3 4 5 6
|
void GetData(wxListView *listView1)
{
int iCount = listView1->GetItemCount();
MessageBox(NULL, L"iCount = " + std::to_string(iCount), L"", MB_OK);
}
| |
C# TO CALL
1 2
|
[DllImport("TestDLL.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern void GetData(ListView listView1);
| |
I want to assign listview of c# to c++ is there any way to do it
Last edited on
Last edited on
Also, ListView, as in System.Windows.Forms.ListView, has nothing at all to do with wxListView. The two are not equivalent in any way.