I developed a new GIS and data access library using the c#.net, and we want to change our main application's substructure to new library. (Old GIS application written with the Delphi).
Therefore, I wrote COM interfaces.
There is no problem with communication, but, we have two main problems that related with performance;
P.S. The application is drawing many geometries per zoom, pan etc. operation, and records are retrieving from the application that written with Delphi.
1. Drawing takes too much time, because each record that belong to geometry is about 100-300Kb and COM data transfer is too poor.
2. Im drawing result map to main application canvas with Graphics.FromHdc(hdc).DrawImage(img, 0, 0); this take about 2-3 seconds.
What do you think about this?
Thanks in advance.
View Complete Post