summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index 44c8682..2e793c4 100644
--- a/Program.cs
+++ b/Program.cs
@@ -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);