Skip to main content
May 26, 2010
Question

ODFRC compiler problem in Windows

  • May 26, 2010
  • 1 reply
  • 1728 views

Hi,

I have a problem with the odfrc compiler in Windows. When I compile any sample project in the SDK the .fres file generated by the odfrc compiler is empty (size of 0 bytes). The different resource folders are generated with content. The following ConcatRes command failes because the .fres file is not a valid resource file and the generated plug-in will not load.

I have the problem i both version 354 and 355 of the SDK and in both Windows7 and WindowsXP.

Has anybody else had this problem ? And have you solved it ?

This topic has been closed for replies.

1 reply

May 28, 2010

Credits to Adobe for the answer. So for others who may run into this problem,I post a short explanation.

The .fres files is 0 bytes as of CS5. The error reported during merge resources can be ignored.

The plug-in fails to load because I did not copy the accompanying Resources folder of plug-in into the plug-ins folder of InDesign, the first time I tried it.. Putting the missing resource folder in later will not make the plug-in load, because InDesign on startup only looks in it's internal object caches for plug-in resources, it already knows, so InDesign does not see the folder.

The solution is to remove all of the plug-in from the plug-ins folder and relaunch InDesign. This clears the internal object cache for the plug-in. As it is no longer present InDesign purges whatever is in the cache. Now you can install the plug-in again and it will (should) load correctly.

JADarnell
Inspiring
May 28, 2010

Dear Mr. T. Schneider:

   Your timing is impeccable!  I was seeing the same thing in one of my projects, not to mention several of the sample projects that come with the SDK.  In fact I was about to ask the forum the exact same question, but I saw your post first. So thanks for being the trailblazer on this subject.  I appreciate it!

R,

John