Copy link to clipboard
Copied
Hi everyone,
I was trying to port our plugins to the new CS20 SDK and identified that ISectionCmdData.Set() requires two new parameters. NonHiddenStartPageUID and NonHiddenStartPageNumber.
When I try to access an existing section (ISection) and retrieve this data, I can retrieve the NonHiddenStartPageUID using mySection.GetNonHiddenStartPageUID() along all the other required parameters of the section such as ContinueFromPrevSection, OffsetFromPrevSection, StartPageNumber, etc.
But when I try to access mySection->GetNonHiddenStartPageNumber(); it crashes givig me the following error.
Exception thrown at 0x00007FFA1B237446 (Sections.rpln) in InDesign (Prerelease).exe: 0xC0000005: Access violation writing location 0x0000000000000001.
Can someone help me to find a solution for this problem?
<Title renamed by MOD>
1 Correct answer
With the newest version of the plugin SDK (plugin_sdk_080) the issue is sorted. These changes no longer exist anymore in the new SDK and the old code is working fine now with out any changes.
Thanks everyone for the support.
Copy link to clipboard
Copied
Maybe it's file related - corruption? Have you tried on other INDD files?
Copy link to clipboard
Copied
Yes I have. This happens in a newly created file in InDesign Pre release 2025.
Copy link to clipboard
Copied
This happens in a newly created file in InDesign Pre release 2025.
By Chamari_Silva
You may want to post any prerelease questions here:
Copy link to clipboard
Copied
Hmm, is version 20 already published?
Otherwise better ask in the prerelease areas.
Copy link to clipboard
Copied
With the newest version of the plugin SDK (plugin_sdk_080) the issue is sorted. These changes no longer exist anymore in the new SDK and the old code is working fine now with out any changes.
Thanks everyone for the support.

