Skip to main content
Participant
December 1, 2024
Answered

IDFileToPMString throwing error after moving to SDK 2025

  • December 1, 2024
  • 1 reply
  • 289 views

Hi All,

Currently I am upgrading my plugin from adobe 18.3 to 20.0.1.

while compiling with new 2025 SDK , getting below error:
 error C2660: 'FileUtils::IDFileToPMString': function does not take 3 arguments 
while trying to match the argument list '(const IDFile, PMString, const bool16)'.

In 2023 SDK, this method of "IDFileToPMString" was having 3 parms but now with 2 only. 

Its causing compilation failure. Is there any alternate for this issue?

If I remove additional(last) argument while compiling the code, the code is getting compiled successfully but it that proper way of doing it ?

Does it cause any issues while using my plugin with indesign ?

Below attached the references from both SDKs.

 

This topic has been closed for replies.
Correct answer Robert at ID-Tasker

I think it only related to Macs - path on PC remains the same. 

 

1 reply

Robert at ID-Tasker
Legend
December 1, 2024

I'm not a plug-in expert - but POSIX paths has been made native for Macs - from version 19 / 2024 - so this extra param is probably no longer needed.

 

Participant
December 1, 2024

But for windows as well this path matters right ? as per the attached screenshots from SDK guide.

Robert at ID-Tasker
Robert at ID-TaskerCorrect answer
Legend
December 1, 2024

I think it only related to Macs - path on PC remains the same.