i have written a program in vb6 that build catalog in indesign CS2,3,4,5 this program works very well in indesign CS2,3,4,5 on Windows XP. but the same programs gives error when i run on Windows7 & indesign CS4 & CS5. error is ."Adobe Indesign Stop Working..." & i have checked the code & found no problem in that. error position is also not certain.some time it build catalog 10-15 pages & some time it just build only 3 pages & show the error & then close......when i checked the event viewer i got this information about the error..please take a look....
Faulting application name: InDesign.exe, version: 184.108.40.2065, time stamp: 0x4bad00be
Faulting module name: APPFRAMEWORK.RPLN, version: 220.127.116.115, time stamp: 0x4bad0252
Exception code: 0xc0000005
Fault offset: 0x00043e0b
Faulting process id: 0xe68
Faulting application start time: 0x01cb1171024188d5
Faulting application path: C:\Program Files\Adobe\Adobe InDesign CS5\InDesign.exe
Faulting module path: C:\Program Files\Adobe\Adobe InDesign CS5\Required\APPFRAMEWORK.RPLN
Report Id: 5c7a9338-7d66-11df-a98a-0019d185
please help me to solve the problem...its over a month..i have posted question in adobe forum but no reply yet......
Exception c0000005 is an access violation. This normally occurs if heap is corrupted (i.e. a NULL pointer is accessed, unallocated memory is freed or allocated memory is freed twice).
However i have the same problem with 4 lines of code that do run on windows 7 cs5, but don't on windows 7 cs3 and 4:
I think the best thing you can do is installing indesign debug version on windows 7 to trace the exception.