Hello Rory, Looking for some optimization libraries for research work in .NET (VB.NET), I came across NLopt and your .NET-wrapper. I am trying to use it, but I don't succeed. I'm trying to use it in VB.NET, on a Windows7 64-bit computer and, from the error messages I get and some web-research, I guess it has to do with my pc being W7-64bit. However, I am really no programming expert and thus am looking for some help and/or clues.
What I'm doing, is building a new project in VB.NET from Visual Studio, basing myself on your code "UsingNLOptDotNet.cs" (translated in VB.NET). --When compiling this with option 'AnyCPU', I get the erro-message "BadImageFormatException wa unhandled". I think this might refer to me working with 64bit, while the dll's are in 32bit. -- When compiling to 'x86', I get a "FileNotFoundException was unhandled"-error, stating "Could not load file or assembly 'NLOptDotNet.dll' or one of its dependencies. The specified module could not be found." When looking with Dependency Walker which dependencies are missing, it refers to GSPVC.DLL, IESHIMS.DLL and SYSNTFY.DLL. Fixing these missing links, gives another error, as these are 64bit on my pc... I've looked at recompiling the wrapper on my pc, based on your codes, but that appears to be beyond my .NET-knowledge. Do you have any tips on how to solve this problem, enabling the use of your wrapper in a VB.NET-project (exe/dll) from a W7-64bit-pc? Thanks in advance!, Marc _______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
