Thread View: adobe.framemaker.sgml
2 messages
2 total messages
Started by Mark_Melvin
Mon, 02 Mar 2009 21:54
FDK How to decode error code in openReturnParamspp of F_ApiOpen?
Author: Mark_Melvin
Date: Mon, 02 Mar 2009 21:54
Date: Mon, 02 Mar 2009 21:54
23 lines
1781 bytes
1781 bytes
Hi There, I am banging my head against the wall trying to figure out why my FDK client will not open a document in certain situations. I am getting a document ID of 0 returned from my call to F_ApiOpen() and I am trying to decode the values in the returned F_PropValsT structure. I have decoded it myself and printed it to the console and the values agree. They are: PropVals -------- prop num = 1 String value = prop num = 2 Integer value = 0 prop num = 3 Unsigned Integer values are: 0 0 8 0 0 I am making an educated guess that the value of '8' in the third integer value refers to the flag FV_BadFileName, but I am totally guessing. Is there any documented way to decode these values? I kind of assumed the call to F_ApiPrintPropVals would provide a little more information... Any help would be appreciated. Also, if there are any FDK experts out there - I have been struggling for a week on getting this to work reliably. I'd love to find someone who knows about this stuff. If there is anyone out there I'll post my sordid tale of FDK struggles over the past week... Thanks in advance, Mark.
Re: FDK How to decode error code in openReturnParamspp of F_ApiOpen?
Author: Mark_Melvin
Date: Mon, 02 Mar 2009 22:17
Date: Mon, 02 Mar 2009 22:17
5 lines
1175 bytes
1175 bytes
Oh, and I know about F_ApiCheckStatus() and calling it with FV_BadFileName returns '1'. The problem is, I just don't understand why this is failing with a bad file name. The file exists! Is there any possible way to get the API to give me more information as to why the heck this is failing? For what it is worth, I have also used the FDE file path functions to check that the exact same file path does, in fact exist from the point of view of the FDE. I'm baffled. Mark.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads