Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does the shell give errors when I use the evaluation DDServer in the ExecTest sample?

0
Posted

Why does the shell give errors when I use the evaluation DDServer in the ExecTest sample?

0

The ExecTest demonstration application uses the full DDServer control. If you use the evaluation version instead, you will find that it can open files with an already running instance of an application. However, the shell displays an error if you try to open a document when the application is not already running. The reason is that when the evaluation control is created, it shows its about box which you must click away. This prevents the shell from establishing a DDE conversation with an application immediately after it has started it. You may see the About box of DDServer appear briefly. If the application is already running the about box has gone, so the shell can connect immediately. You can test this response by replacing the full control with the evaluation one in the ExecTest project. Alternatively, you can use the evaluation control in your own program, copying code from the ExecTest project if you wish.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123