InDesign Crashes When Accessing NonHiddenStartPageNumber in Plugin Development
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>
