[comp.windows.ms] Need Help: Clipboard-Access for OldApps

darkness@altger.alt.sub.org (Stefan Willmeroth) (09/06/90)

A short question to the real insiders...

How does an Old-App running inside a virtual machine access the 
Windows-Clipboard? I suppose Microsoft defined some interrupts to 
manage this, because their Word 5.0 (the text-based version) is able 
to exchange text and graphics through the Clipboard. This feature 
already worked within Windows 2.X and continued to run with Version 
3.0.
I already searched my SDK 2.11 documentation (the regular update 
hasnt yet arrived here in Germany) for information -- without success.
These function calls would greatly improve my way of exchanging data 
between a DOS-App and Microsoft Excel. It would be too much work to 
rewrite the whole thing into an Windows-App.

Thanks in advance for any advice!

Stefan Willmeroth

brianf@umd5.umd.edu (Brian Farmer) (09/07/90)

In article <118@altger.UUCP> darkness@altger.alt.sub.org (Stefan Willmeroth) writes:

>I already searched my SDK 2.11 documentation (the regular update 
>hasnt yet arrived here in Germany) for information -- without success.
>These function calls would greatly improve my way of exchanging data 
>between a DOS-App and Microsoft Excel. It would be too much work to 
>rewrite the whole thing into an Windows-App.
>

Try the second half of the old SDK Programming Tools manuel.  In the Old App
Support section there is a chapter on clipboard access for oldapps, page 169.
There are two table of contents and indexes for this manuel. 

Hope this helps,
Brian Farmer

brianf@umd5.umd.edu 

strobl@gmdzi.UUCP (Wolfgang Strobl) (09/08/90)

darkness@altger.alt.sub.org (Stefan Willmeroth) writes:

>A short question to the real insiders...

>How does an Old-App running inside a virtual machine access the 
>Windows-Clipboard? I suppose Microsoft defined some interrupts to 
>manage this, because their Word 5.0 (the text-based version) is able 
>to exchange text and graphics through the Clipboard. This feature 
>already worked within Windows 2.X and continued to run with Version 
>3.0.
>I already searched my SDK 2.11 documentation (the regular update 
>hasnt yet arrived here in Germany) for information -- without success.
>These function calls would greatly improve my way of exchanging data 
>between a DOS-App and Microsoft Excel. It would be too much work to 
>rewrite the whole thing into an Windows-App.

It's described in "MS Windows SDK, Programming Tools, Application
Style Guide, and Microsoft WIndows Extensions" (that's the
Binder) in the "Extensions" part in the last Chapter
"Old Application Support" 
  11 Old Application DDE Interface
  12 Old Application Menu Support
  13 Old Application Clipboard        <-- look here

This is from the 2.1 SDK. I have never used these functions.

Hope this helps.
 
Wolfgang Strobl
#include <std.disclaimer.hpp>