Skip to main content
Participant
June 22, 2026
Answered

I need help debugging a crash involving dialogues.

  • June 22, 2026
  • 1 reply
  • 8 views

Hello,

I need help debugging a crash involving dialogues.

 

I’ve built a plugin for CC 2026 using the C++ plugin SDK, which works fine. As a next step, I wanted to implement a dialogue box.

 

Integrating the BasicDialog example worked well, but that wasn’t enough for me as I need tabs. So I tried to incorporate the BasicSelectableDialog example.

 

Unfortunately, InDesign crashes on launch. The last call I can see in the crash log is

CDialogObserver::AutoAttach()

 

I’ve also tried copying all the pre-processor macros from the example project file, but that didn’t work either.

 

Could someone please help me debug this?

I’ve attached the crash report.

 

Best regards

 

    Correct answer gunterl70469068

    Never mind, i’ve found the problem.

     

    I mixed up the ids for the DECLARE_PMID stuff and had duplicate entries.

    1 reply

    gunterl70469068AuthorCorrect answer
    Participant
    June 22, 2026

    Never mind, i’ve found the problem.

     

    I mixed up the ids for the DECLARE_PMID stuff and had duplicate entries.