help :) c++

Results 1 to 5 of 5
  1. #1
    Apprentice operation gunz is offline
    MemberRank
    Apr 2020 Join Date
    BrasilLocation
    15Posts

    big grin help :) c++

    build error :

    void rlogon(OTL_HENV ahenv, OTL_HDBC ahdbc, const int auto_commit = 0)
    OTL_THROWS_OTL_EXCEPTION
    {
    if (this->connected)
    {
    throw otl_exception(otl_error_msg_30, otl_error_code_30);
    }
    if (cmd_)
    {
    delete[] cmd_;
    cmd_ = nullptr;
    }

    Erro C2280 'otl_tmpl_exception<otl_exc,otl_conn,otl_cur>::otl_tmpl_exception(const otl_tmpl_exception<otl_exc,otl_conn,otl_cur> &)':trying to reference a deleted function MatchServer h:\Users\First Iformática\Documents\Source\MatchServer\otlv4.h 15939

    solutions friends ?
    file otlv4.h


  2. #2
    The forgotten memory NesuxGxx is offline
    MemberRank
    May 2014 Join Date
    ZERONISLocation
    262Posts

    Re: help :) c++

    oh sec

    - - - Updated - - -

    This is an error due to a SDK used, to update ranking (DT, Survival and Raking Normal), it is a bad way to do it, when I updated the source of (Fresh Gunz), many years ago to visual 201X it gave me this error for about changes and check for an update to this SDK

    - - - Updated - - -

    codelite/otlv4.h at master · eranif/codelite (github.com)

    - - - Updated - - -

    Download this SDK, and update the file that was my solution for those times, I do not recommend using a source like that, I have compiled all the free ones and fresh is a ****
    Last edited by NesuxGxx; 08-08-21 at 07:59 PM.

  3. #3
    Apprentice zbzalex is offline
    MemberRank
    Jul 2021 Join Date
    23Posts

    Re: help :) c++

    Why you can't use unique ptr?
    What is cmd? You try delete data in you memory by reference...

    Sent from my Redmi Pro using Tapatalk

  4. #4
    The forgotten memory NesuxGxx is offline
    MemberRank
    May 2014 Join Date
    ZERONISLocation
    262Posts

    Re: help :) c++

    Do you think he asks for help here and will know how to use ptr :)

  5. #5
    Apprentice operation gunz is offline
    MemberRank
    Apr 2020 Join Date
    BrasilLocation
    15Posts

    Re: help :) c++

    thankyou friends



Advertisement