Working with the AcroPDF ActiveX component, I'm a bit puzzled by the workings of LoadFile():
- It only seems to load a file on the second attempt;
- It always returns 0 (zero), i.e. failure; even if it obviously succeeds (those second attempts).
The input string is a wchar_t[ ]. If I assign the ''src'' property to the same file name, there is no problem. However, I'd like to use LoadFile, to enable generating a ''file not found'' message.
Thanks for any clues!
- -
No comments:
Post a Comment