>Hello all,
>I create an OLE server in VFP 6.0. In the DLL project, i have some code raise a message through MESSAGEBOX() function or WAIT WINDOW command, but i get error OLE IDispatch in my application using the DLL.
A VFP in-process server cannot have
any UI components in it. That's specified in the docs very clearly.
>I Created my OLE Server like this in Visual Basic and it work. (I checked in Unattended Execution option).
>Can anyone help me resolve the problem in VFP ?.
Unlike VFP, you can create in-process servers with user interface components in VB, part of why you can create controls in VB but not in VFP.
>
>What are commands of VFP can't use in OLE Automation Server ?
If you've applied VFP SP3, the exact list of unsupported commands is contained in the SP3 add-on help file VFPSP3.CHM (Server Design Considerations - Visual FoxPro Language Support in Run-time Libraries).
>Thank in advandce.