Link to home
Start Free TrialLog in
Avatar of rdfloc
rdfloc

asked on

windows clipboard (reading)

Whats the way (if exists) to read the windows clipboard under Turbo Pascal 70 (DOS) loaded in windows98 ?
Especifically, is possible read a bmp or other usual graphic format..
Thanks
Avatar of VIBESPRO
VIBESPRO
Flag of Antigua and Barbuda image

use intr = $2F, AX=1703 to read/write data...
it points to the windows clipboard
but it only works in real mode
 
you can use a "real mode interrupt callback" in order to use the function. a Real mode interrupt callback (i think) requires that there's a DPMI handler installed if you want it to work in protected mode

let me know if it works  
 

ASKER CERTIFIED SOLUTION
Avatar of Hypo
Hypo
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rdfloc
rdfloc

ASKER


Well, as I said, i need preferrablely some way to get the windows clipboard when it contains a graphic format...
Can anyone post an example of way to display such graphics..

Thanks again