From f51c57baa314405036e940086a17cfb65e8f6ef5 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Mon, 9 Mar 2015 21:34:25 +0200 Subject: [PATCH] Exposed the third param for a run-time dir to the C# binding thus preventing crashes. Signed-off-by: Dimitar Dobrev --- bindings/csharp/openalpr-net/openalpr-net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/csharp/openalpr-net/openalpr-net.cpp b/bindings/csharp/openalpr-net/openalpr-net.cpp index 7ac9769..a8103d0 100644 --- a/bindings/csharp/openalpr-net/openalpr-net.cpp +++ b/bindings/csharp/openalpr-net/openalpr-net.cpp @@ -295,7 +295,7 @@ namespace openalprnet { { public: // Allocate the native object on the C++ Heap via a constructor - AlprNet(System::String^ country, System::String^ configFile) : m_Impl( new Alpr(marshal_as(country), marshal_as(configFile)) ) { } + AlprNet(System::String^ country, System::String^ configFile, System::String^ runtimeDir) : m_Impl( new Alpr(marshal_as(country), marshal_as(configFile), marshal_as(runtimeDir)) ) { } // Deallocate the native object on a destructor ~AlprNet(){