Selection Delay

Oct 10 at 7:16 AM
I'm working with a really large shape file that's already loaded into my axMap1. I'm using the sample code provided on the site to select but there's a big delay (due to the size of the shape file). Any advice on how the code can be simplified / improved to limit that delay?

Code I'm using is here: http://www.mapwindow.org/documentation/mapwingis4.8/_select_box_8cs-example.html

I noticed the MapWindowV5 app doesn't have the same delay.
Oct 10 at 7:53 AM
Nevermind. Looks like cloning the SF that was already loaded did the trick.
Marked as answer by friendfromarea51 on 10/10/2017 at 12:53 AM