Changeset 1737


Ignore:
Timestamp:
Jul 17, 2010, 7:08:26 PM (11 years ago)
Author:
Sven Rech
Message:

removed dirty hack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/QuadraticSieve/QuadraticSieve.cs

    r1735 r1737  
    840840                    dllname = "msieve64.dll";
    841841
    842                
    843                 //DIRTY HACK:
    844                 String cryptool2dir = Directory.GetCurrentDirectory();
    845                 if (cryptool2dir.EndsWith("\\ProjectSamples"))
    846                     cryptool2dir = cryptool2dir.Substring(0, cryptool2dir.Length - "\\ProjectSamples".Length);
    847 
    848 
    849                 msieveDLL = Assembly.LoadFile(cryptool2dir + "\\AppReferences\\"  + dllname);
     842                msieveDLL = Assembly.LoadFile(DirectoryHelper.BaseDirectory + "\\AppReferences\\" + dllname);
    850843                msieve = msieveDLL.GetType("Msieve.msieve");
    851844            }
Note: See TracChangeset for help on using the changeset viewer.