1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sprintf question

Discussion in 'Plugins' started by vefatica, Apr 19, 2009.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,941
    Likes Received:
    30
    Sprintf seems to quietly fail (with no bad consequences) if it's first argument (LPTSTR pszTarget) is NULL. Is that so? I'd like to take advantage of that behavior.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,855
    Likes Received:
    83
    vefatica wrote:

    It is *not* so. Depending on the other arguments, it will quietly fail,
    noisily fail, or explode and kill everything in the neighborhood.

    Rex Conn
    JP Software
     

Share This Page