Hi Jerome, The C# binding you linked is the one I use. I'm no expert so take what I say with a grain of salt, but after reading a bit on the subject here's what I understood. When using DllImport, the marshaller doesn't keep reference count and expect the lib to always stay loaded, and that's why it won't reload it itself once it did once. There are two ways of keeping manual track of the load/unload process. You can use LoadLibrary/FreeLibrary as I mentioned, but call functions using GetProcAddress...
Hi Jerome, The C# binding you linked is the one I use. I'm no expert so take what I say with a grain of salt, but after reading a bit on the subject here's what I understood. When using DllImport, the marshaller doesn't keep reference count and expect the lib to always stay loaded, and that's why it won't reload it itself once it did once. There are two ways of keeping manual track of the load/unload process. You can use LoadLibrary/FreeLibrary as I mentioned, but call functions using GetProcAddress...
I know this is not directly related to MediaInfo and more about using DllImport in C# MVC projects, but I asked on StackOverflow and didn't get any answer so I thought I would ask here. So I have a ASP.NET MVC project handling video files uploads, and I used the MediaInfo library (C++) along with the included C# wrapper (using DllImport functions) to determine the video duration. I added the MediaInfo.dll file to my project, and set the "copy to output directory" to always. Everything works perfectly....
I know this is not directly related to MediaInfo and more about MVC projects, but I asked on StackOverflow and didn't get any answer so I thought I would ask here. So I have a ASP.NET MVC project handling video files uploads, and I used the MediaInfo library (C++) along with the included C# wrapper (using DllImport functions) to determine the video duration. I added the MediaInfo.dll file to my project, and set the "copy to output directory" to always. Everything works perfectly. My problem is that...
I know this is not directly related to MediaInfo and more about MVC projects, but I asked on StackOverflow and didn't get any answer so I thought I would ask here. So I have a ASP.NET MVC project handling video files uploads, and I used the MediaInfo library (C++) along with the included C# wrapper (using DllImport functions) to determine the video duration. I added the MediaInfo.dll file to my project, and set the "copy to output directory" to always. Everything works perfectly. My problem is that...
Is there a property to set on the control to accept pasting as hex? Currently pasting...