Ticket #1630 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Exceptions are not propagated to C# for the CoordinateTransformation object

Reported by: tamas Assigned to: tamas
Priority: normal Milestone: 1.4.2
Component: CSharpBindings Version: unspecified
Severity: normal Keywords:
Cc:

Description

When the gdal dll links proj.dll dynamically the constructor of the CoordinateTransformation? class will fail when the proj.dll is not available. However the CoordinateTransformation? will eventually be created with a null memory reference to the C memory. And subsequent operation on this object will produce a memory reference error. Using the static link option (PROJ_FLAGS = -DPROJ_STATIC in nmake.opt) the problem will not arise.

Change History

05/13/07 14:23:17 changed by tamas

Added exception handling to the OSR classes in C# Changesets:

svn-trunk r11506 branch-1-4 r11507

06/18/07 10:46:01 changed by tamas

  • status changed from new to closed.
  • resolution set to fixed.