Changeset 14250 for trunk/sources/HeuristicLab.ExtLibs
- Timestamp:
- 08/09/16 16:26:30 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Igraph/0.8.0-pre/HeuristicLab.Igraph-0.8.0-pre/DllImporter.cs
r14247 r14250 21 21 22 22 using System; 23 using System.IO;24 23 using System.Runtime.InteropServices; 25 24 … … 30 29 private readonly static bool X86 = false; 31 30 32 [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]33 private static extern bool SetDllDirectory(string lpPathName);34 35 31 static DllImporter() { 36 32 X86 = !Environment.Is64BitProcess; 37 // Possible workaround as the builder doesn't execute the tests within the bin directory38 if (Directory.Exists(Path.Combine(Environment.CurrentDirectory, "bin")))39 SetDllDirectory(Path.Combine(Environment.CurrentDirectory, "bin"));40 33 } 41 34
Note: See TracChangeset
for help on using the changeset viewer.