Re: Internal Error: 7004, 5048919, 6050789, 6047376
Hi n3u...
Does the crash always happen on the second (or later) save? You're not freeing the F_PropValsT variables. Try adding this before the return ..
F_ApiDeallocatePropVals(¶ms);
F_ApiDeallocatePropVals(returnp);
In order to separate the PDF issue from the scene, you might try making a test version of the app that saves to another FM file rather that saving to PDF. There are all sorts of reasons that PDF export can have problems.
Also .. I've seen some funky problems when mixing CPP data types with FDK apps. I try to keep the two quite separate. It may just be unnecessary paranoia on my part .. but you never know.
....scott
|