>You can't do GUI from a DLL, you would have to build this as a VFP EXE (Win32 executable/COM server) and incorporate your GUI there. We do a similar thing with our Navision 4GL to support things their report writer just does not do.
There is a way to have the user interface for COM DLLs (and EXEs), however not through creating forms, as VFP does not support user interface commands from COM
directly, but you can do it different way. See my article "Raise Events From Your Applications" in February 2001 FoxPro Advisor. However, you cannot use VFP reports in COM DLL because of one stupid thing - it shows "Printing page..." window and that's what throws it off.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison