Ver Mensaje Individual
  #5 (permalink)  
Antiguo 04/09/2013, 15:01
EL_DOC
 
Fecha de Ingreso: junio-2008
Mensajes: 109
Antigüedad: 15 años, 10 meses
Puntos: 0
Respuesta: Problema al leer un vector puntero

y del lado de C# hago la importación de la función de C++

Código C:
Ver original
  1. [DllImport("MalHostNative.dll")]
  2.         public extern static void GetNetxInfo(IntPtr source, int indice, out ulong pid, out IntPtr filename,
  3.                                               out IntPtr pathname, out string protocol, out string state,
  4.                                               out string srcip, out int srcport, out string destip,
  5.                                               out int destport);