Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

1 result found

  1. Bug in IXMLOutStream.h header file

    InDesign2020SDK/source/public/interfaces/xmedia/IXMLOutStream.h:499

    void WriteName(const UTF16TextChar* name, bool16 newLine = kFalse)
                  { this->WriteName(name, newLine); }
    

    This function calls itself. It leads to a stack overflow on Windows but the code analyzer in Xcode catches it and reports an error during compilation. It can be changed to:

    void WriteName(const UTF16TextChar* name, bool16 newLine = kFalse)
                  { this->WriteName(WideString(name), newLine); }
    

    and it will work (it calls the previous function in the file instead).

    4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  C++ SDK  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base