Hello,<br /><br />My plugin is getting the serial number of the current copy of InDesign at Load() time from my plugin's entry point doing this:<br /><br />InterfacePtr<ISerialNumber> serial(gSession,IID_SERIALNUMBER);<br /><br />This had worked just fine - as long as I didn't need to addin a selection suite to my plugin . . .<br /><br />But at the exact moment I do add a CSB Addin - within my plugin's .fr file - ISerialNumber returns a nil pointer, breaking my existing code to check plugin loading conditions.<br /><br />First of all - I must be missing something important in here since I don't see how adding a CSB in resources could break ISerialNumber interface in my plugin entry point: I would appreciate any comment or advice that would help me making some sense of this strange behaviour.<br /><br />Last of all - beyond the theorical side, always interesting but hardly conclusive - I would appreciate any suggestion for a work around, since my plugin do need a selection suite AND to get InDesign serial number at loading time - by customer specifications.<br /><br />Best regards<br /><br />Patrick Perroud
↧