You need to put the "REPORT FORM .." in a .VFP. COM EXE and call that from your .VFP. mtdll. You can easily pass parameters from the mtdll to the .VFP. COM EXE. This is the way the example in AVFP works. Here's a description of the problem/solution from Microsoft:
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B191639You can pretty much make the generalization that .VFP. items with any kind of user interface(Report Form, timers, phDBase, etc.) can be accessed from a .VFP. mtdll by encapsulating them in a .VFP. COM EXE.
>Hello,
>
>When I execute a REPORT FROM in my MTDLL I get
>Feature Not Available !!!!
>
>I get the same with the Print2PDF utility !!!
>
>What should I do ???
>
>Xavier