Categories
Development

CallbackOnCollectedDelegate detected

After few minutes of successfull running I get this error in my application. Asistente para la depuración administrada ‘CallbackOnCollectedDelegate’ Se realizó una devolución de llamada al delegado recolectado de tipo ‘Threads!Threads.Hud+NativeMethods+WinEventDelegate::Invoke’. Since I cant figure out which part of the code is in responsible for this issue, I’m posting the complete class here. (I guess […]

Categories
Development

A call to PInvoke function … This is likely because the managed PInvoke signature does not match the unmanaged target signature

Additional information: A call to PInvoke function ‘Test Embed!Test_Embed.Form1::SetWindowLong’ has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature. Hosting EXE Applications in a WinForm project private void button1_Click(object sender, […]