0
FDK How to decode error code in openReturnParamspp of F_ApiOpen?
New Here
,
/t5/framemaker-discussions/fdk-how-to-decode-error-code-in-openreturnparamspp-of-f-apiopen/td-p/1248520
Mar 02, 2009
Mar 02, 2009
Copy link to clipboard
Copied
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.
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.
TOPICS
Structured
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Mark_Melvin
AUTHOR
New Here
,
LATEST
/t5/framemaker-discussions/fdk-how-to-decode-error-code-in-openreturnparamspp-of-f-apiopen/m-p/1248521#M5258
Mar 02, 2009
Mar 02, 2009
Copy link to clipboard
Copied
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.
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.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

