Hello, The problem is solved! It was my fault!
The problem was apparently due to the location of the "libnlopt-0.dll", which didn't lie in the same folder (bin/debug) as the exe-file, while the "libnlopt-0.lib" was there. (I copied both correctly to the compile-folder (bin/debug) of the dll I was creating, but not of the application-form I used to test my dll. A very stupid error of mine! Sorry! I should see how to make libnlopt-0.dll be copied automatically together with the .lib-file when compiling.) I've now been experimenting whith the dll, and it works perfectly. It's impressive to have such a powerfull library at hand, directly from other .NET-codes. Thanks for the great work! (both the programmers of NLopt as well as Rory) I will now have to check how to implement this in my existing codes, as those are often in 64bit/AnyCPU(used on 64bit-computers), while this dll is 32bit. best regards, marc _______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
