tengo estas líneas en C# Visual Studio 2010:No se puede agregar un IntPtr y un Int
IntPtr a = new IntPtr(10);
IntPtr b = a + 10;
y dice:
operador '+' no se puede aplicar a operandos de tipo 'System.IntPtr' e 'int'.
MSDN says that this operation should work.
¿Su proyecto está dirigido a .NET 4? –
no, yo uso .net 3.5 – Sp3ct3R