Skip to main content
Inspiring
July 19, 2023
Answered

How do we maintain the forward compatibility of a c++ plugin?

  • July 19, 2023
  • 1 reply
  • 1535 views

Hi all,
I'd like to know how to maintain the forward compatibility of a c++ plugin. Which methods should I look at?

This topic has been closed for replies.
Correct answer Rahul_Rastogi

Sorry about my mix up of the words, forward/backward compatibility. 
I tested using FrameLabel sample:
indd document generated with CC2022 and opening it with CC2023 -> no issue
idml document generated with CC2022 and opening it with CC2023 -> no issue

idml document generated with CC2023 and opening it with CC2022 -> no issue

indd document generated with CC2023 and opening it with CC2022 -> data is missing

 


We now know that problem is only with backward compatibility.

 

We don't have any further solutions to implement. It is InDesign behaviour for backward compatibility and nothing is wrong in our code.

 

Only Adobe can fix this. 

 

You may report this as feature/bug - https://indesign.uservoice.com/

 

1 reply

BarlaeDC
Community Expert
Community Expert
July 19, 2023

Hi,

Are you looking for a list of methods that you are sure wont be changed/broken in the next release the product so that you don't have to do any re-work, if so, that is a question we cannot answer. [don't have a crystal ball]

 

You would hope that Adobe doesn't change/break anything between versions but there is no guarentee about this, everytime there is a release you would need to check your c++ plugin ( and you may have to re-compile it) for the new version.

Inspiring
July 19, 2023

I think my question was not really clear. 
I actually need a way to remain the forward compatilibility of a document, and would like to know where to start. I have a c++ plugin, which is compiled for both ID2023 and ID 2022 versions. When I create a document using ID 2023 with the plugin, and open the same document with ID 2022 with plugin installed, the details inserted by the plugin are missing. 

Olivier Beltrami
Legend
July 19, 2023
quoteWhen I create a document using ID 2023 with the plugin, and open the same document with ID 2022 with plugin installed, the details inserted by the plugin are missing. 
By @Chamari_Silva

 

I am having trouble visualizing this.

Can you give us an example of the details that are missing ?

Olivier