Would it be possible to have an out-of-process VFP COM server (an EXE) do the report?... it could be instantiated by the VFP MTDLL, no?
One thing I've noticed is that the RUN command does not work within an MTDLL. But somebody told me that the MTDLL can instantiate an out-of-process VFP COM server with a method in it that performs the RUN command (let's say there's some not-necessarily-VFP 3rd party app that you want to run, etc.)
Are these suppositions correct?
>The REPORT FORM command is still not supported in a multithreaded COM DLL. See
Re: Report to file called from asp Message #
1056400>
>>I am making a multithreaded COM DLL with the following code:
>>
><snip>
>>
>>However, on the line : do (_ReportOutput) with 0, loListener I get the following error: OLE IDispatch exception code 1 from : File 'c:\develop\questpdm.ora\listener.vcx' does not exist...
>>
>>I have placed ReportOutput.app in the same folder as my DLL.
>>
>>Anyone have any Ideas how I can use this in my DLL?