[HowTo] Disable .exe name change

  • Add to include's:

    C
    1. #include <boost/preprocessor/cat.hpp>
    2. #include <boost/preprocessor/seq/for_each_i.hpp>
    3. #include <boost/preprocessor/seq/enum.hpp>

    Add directly below the include's:

    Add Below:

    Code
    1. SetLogLevel(1);

    This:

    Code
    1. std::string filename;
    2. std::string orginalname = GetBinName();
    3. GetExcutedFileName(filename);
    4. filename = CFileNameHelper::NoPath(filename);
    5. if (filename.compare(orginalname) != 0)
    6. {
    7. LogBox(GetLogBoxText());
    8. return false;
    9. }




    I guess its kinda usefull sometimes :)

    Bitte melden Sie sich an, um diesen Link zu sehen.