   [.net] Problems with interop between C++ DLL and C# (.NETCF for WM6)
  (I am using .NET Compact Framework, 2.x I think, for Windows Mobile 6)I have a C++ DLL specifying a couple of methods which I'd like to be able to access (and implement) in a C# application. The reason is that the DLL is originally launched by an external application (a DLL launcher of sorts) and all "sub-apps" are written in C++. But, being the renegade that I am, I want to be able to write such a sub-app in C# instead. However, problems arise with some of the types used in the C++ code:HWNDTODAYLISTITEMHRESULTWhat can I use instead?   
  Hi Eldritch,I can't help you with TODAYLISTITEM, looks like a Win32 structure that you will need to recreate in .NET.HWND - IntPtrHRESULT - Int   ;  Okey, thanks.I have another question. The C++ DLL we use are loaded from a C++ executable that calls the functions defined in the DLL. Can I somehow write the same structure in a C# DLL that the C++ EXE can call and receive the same callbacks?   