1
Vote

Please include 64bit Ipopt

description

I think your general library should run on the "Any CPU" platform. You can load the Ipopt libraries in a static constructor with something like I do for Sqlite:
        [DllImport("kernel32", SetLastError = true)]
        public static extern IntPtr LoadLibrary(string lpFileName);

        static MyClass()
        {
            LoadLibrary(Path.Combine(IntPtr.Size > 4 ? "x64" : "x32", "Sqlite.Interop.dll"));
        }

comments