...
Another thing that can help us to find out what's wrong is a log file: Before calling SetParams(), please add loSession.initLog(). Then, when you run XFRX next time, _XFRX.log file will be generated in the default directory. This file contains all errors that are trapped during XFRX execution. Attaching this file to the email is a big help for us. The alternative method is setLogFile().
Error messages are print to "Output Windows" too (since XFRX 15.8).
Code Block | ||
---|---|---|
| ||
Oxfrx = XFRX("XFRX#LISTENER") Oxfrx.setLogFile("xfrx.log") lnRetVal = Oxfrx.SetParams("test.pdf",,,,,,"PDF",,,,.T.) IF lnRetVal = 0 REPORT FORM test object oxfrx ELSE ?Oxfrx.ErrorMessage(lnRetVal) ENDIF |
...