My application is a 64-bit C# desktop application using Visual studio 2019. I installed the 64-bit MapWinGis and use 32-bit MapWinGis to register OCX. I turn on “SendOnDrawBackBuffer” and “SendMouseUp” so I get Map events OnDrawBackBufferEvent fired, however, the event argument returns an integer e.backBuffer. Should it be a long in 64-bit version? The same issue in Image.SetImageBitsDC(int) , etc. So, how shall I solve this problem?
Another question is how to get Map event this.axMap1.OnDrawBackBuffer2 fired?
Your help will be very much appreciated,