diff options
-rw-r--r-- | Program.cs | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -75,6 +75,10 @@ namespace BCDD Console.WriteLine("ERROR: unable to determine DD table for board " + boardNo);
}
}
+ catch (DllNotFoundException)
+ {
+ throw;
+ }
catch (Exception e)
{
Console.WriteLine(e.Message);
@@ -82,6 +86,11 @@ namespace BCDD }
file.Save();
}
+ catch (DllNotFoundException)
+ {
+ Console.WriteLine("libbcalcdds.dll could not be loaded - make sure it's present in application directory!");
+ break;
+ }
catch (Exception e)
{
Console.WriteLine("ERROR: " + e.Message);
|