Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).

New Forum | Previous | Next | (P-PDF) Developers

Topic: Memory Errors
Conf: (P-PDF) Developers, Msg: 82103
From: jwbpdf
Date: 2/27/2003 07:05 AM

I am working on a plug in to add multi line text to an open PDF page. To get the multi lines I arrange the lines of text into an array of pointers. Each pointers contains a line of text. Then I just traverse the array to put each line of text on the page. The functionality works fine. But I get exception errors with couldn't read and some couldn't write. Sometimes they don't come up till I try to close Adobe. It doesn't happen a lot. I know that this is being caused in how I am copying the text from a string to the different pointers. I am using the ASmalloc and ASfree as needed in Adobe. Also I ran the same function in a console program to debug, and I never got the error even after numerous runs. Is there something different about how the Adobe SDK handles allocating memory that I should know or could be over looking?

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Five visions of a PDF Day

In the world of PDFs or as we like to say Planet (of) PDF, a year isn't a real PDF year without an intense few days of industry knowledge sharing.

May 15, 2018
Platinum Sponsor

Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.


Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.