ThinkGeo.com    |     Documentation    |     Premium Support

SEHException when loading RPF files

I’m using Map Suite 9 on a 64 bit machine.

I’ve followed these steps to try get my RPF files working:

  1. Reference FdoExtension.dll in my project.

  2. Used MapSuiteFdoExtension.msm to install the other dependencies. (All the guides I saw on installing dependencies to the System involved copying a particular folder into either System32 or SysWOW64, but these didn’t exist in my Map Suite 9 folder so I was forced to use the msm, but I think that did the same thing.)

  3. Added this code to the appropriate place:
    GdalRasterLayer gdalLayer = new GdalRasterLayer(“C:/path/to/file/a.toc”);
    gdalLayer.Open();
    StaticOverlay.Layers.Add(gdalLayer);

It compiles fine. In the UI, however, I see “Exception has been thrown by the target of an invocation.”

Debugging into this a bit, I see this error:
System.Runtime.InteropServices.SEHException was unhandled.
Message: An exception of type ‘System.Runtime.InteropServices.SEHException’ occurred in OSGeo.FDO.dll and wasn’t handled before a managed/native boundary.

Module information:
Version: 3.07.0.0
Original Location: C:\Windows\SysWOW64\MapSuiteFdoExtension\X86\OSGeo.FDO.dll

Is there a property I’m not setting? Is there an issue with how the msm installed the dlls? Something else entirely?

Thanks.

Hi @Sam_Powers,

Thanks for your information, but we render RPF file by the 3rd part dll, so could you please upload your RPF data via FTP or email? Our developer will research further based on that.

Regards,

Don