Opened 18 years ago

Last modified 15 years ago

#1339 closed defect

Lazy initialization of System.Console causes crash with MONO C# — at Initial Version

Reported by: szekerest@… Owned by: szekerest
Priority: normal Milestone:
Component: CSharpBindings Version: unspecified
Severity: normal Keywords:
Cc:

Description

Using the createdata and the ogrinfo csharp sample applications early initialization of System.Console should be used. Otherwise the application may crash at the following line:

Console.WriteLine("Using driver " + drv.name);

To workaround this issue Console.WriteLine(""); inserted before calling the SWIG wrapper functions.

Change History (0)

Note: See TracTickets for help on using tickets.