Adobe Forums

Add Me
Adobe Forums » Software Discussions » FrameMaker » Re: Internal Error: 7004, 5048919, 6050789, 6047376

Tags:



Reply
LinkBack Thread Tools Display Modes
Re: Internal Error: 7004, 5048919, 6050789, 6047376
  #1 (permalink)  
Old 09-29-2008, 05:38 AM
n3u@adobeforums.com
Guest
 
Posts: n/a
Default Re: Internal Error: 7004, 5048919, 6050789, 6047376

Hi,

my application does only one save and then closes itself, however I'm concerned about good programming (and also I'm desperate) so I added the two lines you suggested to the function.

I also did some changes to the variables type, so my new code looks like this:

BOOL DMFrameMaker::SavePDF(CString sPDFLocation)
{
F_PropValsT params, *returnp;
StringT stPDFLocation = (unsigned char *) sPDFLocation.GetBuffer(1024);

params = F_ApiGetSaveDefaultParams();
returnp = NULL;
int i = F_ApiGetPropIndex(&params, FS_FileType);
params.val[i].propVal.u.ival = FV_SaveFmtPdf;

m_foDocId = F_ApiSave(m_foDocId, stPDFLocation, &params, &returnp);

F_ApiPrintSaveStatus(returnp);

F_ApiDeallocatePropVals(&params);
F_ApiDeallocatePropVals(returnp);

return TRUE;
**

Needless to say, the FM still crashes.
What can I do now?
Please help me!
n3u.


Reply With Quote


Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:13 PM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.