Error after updating

I updated from 2100 to 3610. I had asked a question (Disable National Forest Clicks) about how to disable link clicks on our map.

Now when I run the project I'm getting access violations on this line:

c := ICoreWebView2Controller(TMSFNCGoogleMaps1.NativeBrowser);

Is there a better way to do this?

We changed the implementation of the underlying browser. If you are executing code from the constructor, this will not work. You'll need to move the code to the OnMapInitialized event.

Thank you Pieter. That works.