Opened 17 years ago

Closed 17 years ago

#1630 closed defect (fixed)

Exceptions are not propagated to C# for the CoordinateTransformation object

Reported by: tamas Owned by: tamas
Priority: normal Milestone: 1.4.2
Component: CSharpBindings Version: unspecified
Severity: normal Keywords:


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 (2)

comment:1 by tamas, 17 years ago

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

svn-trunk r11506 branch-1-4 r11507

comment:2 by tamas, 17 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.