I am using InDesign CS3 and wants to create new object style based on [Basic Text Frame]. I have used kNewObjectStyleCmdBoss and then set name and based on style name using IObjectStyleInfo interface. I am getting exception while processing this command. The exception is "Unhandled exception at 0x0c9c91ab in InDesign.exe: 0xC0000005: Access violation reading location 0x00000000". Please let me know what should be the steps to create new object style.
Europe, Middle East and Africa