Ticket #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
Note: See
TracTickets for help on using
tickets.
