>I have been using REPORT FORM TO FILE ... to be able to generate PDF files ( with the help of PDF Writer printer) for the last 2 years.
>I am in the process of upgrading the application to work as a COM server ( via FOXISAPI and all hell broke loose...
>The code works like a charm if the object is called within Fox interface, it generates the PDF without problems... but when called via ISAPI it just dies in lala land...
>I read some stuff... that it creates a COM exception... because of the dialog window that the reporter creates... is that right? and if so... is there any way of circumventing this particular problem? or I should just forget REPORT form... and also probably Foxpro.
>alex
>
>P.S. worse than that when I disable any user interaction...
> i.e. use of SYS(2335,0)
>it comes back with a funky error that operation is not allowed.
Please clarify some points:
are you building the COM object as Multithreaded-DLL? If this is the case, no need of sys(2335); user interaction is already disabled.how are you activating your COM object? if it's inside an IIS, you should grant the anonymous user the necessary permissions to write the file (not granted by default, if you are just using IUSR_xxxxxx)Regards
Jose.