New Forum | Previous | Next | (P-PDF) Developers
Topic: Adobe Acrobat 7.0 Library Freeses and uses 100% CPU
Conf: (P-PDF) Developers, Msg: 136615
Date: 7/22/2005 01:16 AM
I am using adobe acrobat library 7.0 with VB 6 to perform basic file manipulation (Open, Insert) on large number of files. So, basically, I open a file and then append a page to the end of it, then close it and open another file and append a page to the end, and so on. After a while, the application freezes on the insert function (lbStatus = pdDoc.InsertPages(miArtNumPages - 1, pdCopyRight, 0, 1, False) and adobe.exe uses 99% CPU and never recovers until I manually kill adobe.exe process. As I monitor the CPU, it does not increase constantly, it goes up and down between 10 and 40% and then it jumps up to 99% and it stays there. I am initializing and setting the adobe object to nothing in my application for each file.
Any help to resolve this issue is appreciated.
LeonardR, any thought on this?