Opened 13 years ago

Closed 12 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:
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 (2)

comment:1 Changed 13 years ago by tamas

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

svn-trunk r11506 branch-1-4 r11507

comment:2 Changed 12 years ago by tamas

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