Error writing document - Attempted to read protected memory

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Error writing document - Attempted to read protected memory

Postby omihai_2000 » Fri Dec 12, 2008 5:32 pm

Hi,

I have a .NET 2.0(SP1) WinForm C# application, which reads a .rtf file, creates a new VpeControl with several Regions, and writes the resulting .pdf file to disk. (VpeControl1.WriteDoc(filename)).

Sometimes (I couldn't find any rule...) the program crashes and throws this Error : Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

This happens at the line: ok = VpeControl1.WriteDoc(filename);

I use IDEALSoftware.VpeProfessional.dll, version 4.0.3.0

Thank you.
omihai_2000
 
Posts: 16
Joined: Fri Dec 12, 2008 5:12 pm

Postby IDEAL Software Support » Sat Dec 13, 2008 10:29 am

Upgrade to Release 4.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 3 guests

cron