gcontini
2019-10-13 4e1f76fae58a7e0db111ec68e616e6ea3222f726
src/library/locate/ApplicationFolder.cpp
@@ -23,6 +23,8 @@
namespace locate {
using namespace std;
ApplicationFolder::ApplicationFolder() :
      LocatorStrategy("ApplicationFolder") {
@@ -36,10 +38,9 @@
   vector<string> diskFiles;
   char fname[MAX_PATH] = { 0 };
   const FUNCTION_RETURN fret = getModuleName(fname);
   cout << string(fname) << endl;
   cout << fret << endl;
   if (fret == FUNC_RET_OK) {
      const string temptativeLicense = string(fname) + ".lic";
      const string module_name = remove_extension(fname);
      const string temptativeLicense = string(module_name) + ".lic";
      ifstream f(temptativeLicense.c_str());
      if (f.good()) {
         diskFiles.push_back(temptativeLicense);