![]() |
| Adobe Forums » Software Discussions » FrameMaker » Re: Internal Error: 7004, 5048919, 6050789, 6047376 |
| Tags: |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
|||
|
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(¶ms, FS_FileType); params.val[i].propVal.u.ival = FV_SaveFmtPdf; m_foDocId = F_ApiSave(m_foDocId, stPDFLocation, ¶ms, &returnp); F_ApiPrintSaveStatus(returnp); F_ApiDeallocatePropVals(¶ms); F_ApiDeallocatePropVals(returnp); return TRUE; ** Needless to say, the FM still crashes. What can I do now? Please help me! n3u. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|