Article View: adobe.framemaker
Article #2278Re: Internal Error: 7004, 5048919, 6050789, 6047376
From: n3u
Date: Sun, 28 Sep 2008 21:06
Date: Sun, 28 Sep 2008 21:06
33 lines
1798 bytes
1798 bytes
Scott,
the crash is sure under certain conditions.
What I can see is that showing certain pattern of "conditionals" the crash always happens, while the same book with other show/hide combination of conditionals it doesn't.
The exact moment where the FrameMaker crashes and gives the error is during the F_ApiSave call inside this piece of code:
BOOL DMFrameMaker::SavePDF(CString sPDFLocation)
{
F_PropValsT params, *returnp;
params = F_ApiGetSaveDefaultParams();
returnp = NULL;
int i = F_ApiGetPropIndex(¶ms, FS_FileType);
params.val[i].propVal.u.ival = FV_SaveFmtPdf;
m_foDocId = F_ApiSave(m_foDocId,
(unsigned char *) sPDFLocation.GetBuffer(512),
¶ms,
&returnp);
F_ApiPrintSaveStatus(returnp);
return TRUE;
}
I tried to set the conditionals manually but the same conditionals aren't giving problems to the FrameMaker in an interactive run.
So I fear it can be a problem inside my program or the API, but I don't know how to inspect further (keep in mind that with a single different conditional to show/hide it works well).
Please, help me discover something more about this mess!
Thanks,
n3u.
Technical Details
Message-ID:
<59b6575e.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!feeder.erje.net!news4us.nl!webcrossingReferences:
<59b6575e.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fd315,7158b2558b6fafa X-Google-Attributes: gidfd315,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: n3u@adobeforums.com Newsgroups: adobe.framemaker Subject: Re: Internal Error: 7004, 5048919, 6050789, 6047376 Message-ID: <59b6575e.2@webcrossing.la2eafNXanI> Date: Sun, 28 Sep 2008 14:06:28 -0700 References: <59b6575e.-1@webcrossing.la2eafNXanI> Lines: 39 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!feeder.erje.net!news4us.nl!webcrossing