🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.misc
2 messages
2 total messages Started by Alan Merrell Mon, 25 Jan 1993 20:21
DDE exchange formats
#2326
Author: Alan Merrell
Date: Mon, 25 Jan 1993 20:21
10 lines
1012 bytes
I'm trying to pass data in and out of Excel using DDE.  The Borland OWL package
made it easy to connect -- but... the DdeGetData call moves data into my
buffer, but I can't figure out what the data means.  The sample program
supplied by Borland just passes text.  The windows.h file defines several
"clipboard format" types - but it doesn't define the type Excel uses.  My
Excel documentation only describes the Excel commands - no clue as to the
data format.

Any help in how to track down the "oxcboa" clipboard format is appreciated.
Thanks - arm 
Re: DDE exchange formats
#2366
Author: Chris Davies
Date: Wed, 27 Jan 1993 13:35
16 lines
1366 bytes
Alan Merrell (alanm@askinc.ASK.COM) wrote:
> I'm trying to pass data in and out of Excel using DDE.  [...]
> The windows.h file defines several "clipboard format" types - but it
> doesn't define the type Excel uses.

Excel tries to use several types.  It starts (I think) with CF_BIFF and
then wanders through a variety of formats until it eventually reaches
CF_TEXT.  All you need to do is to NACK the format(s) you don't
understand and Excel will try again.  I can't find a code fragment
offhand, but this should point you in the right direction.

Chris
--
            VISIONWARE LTD, 57 Cardigan Lane, LEEDS LS4 2LE, England
  Tel +44 532 788858 x238.  Fax +44 532 304676.  Email chris@visionware.co.uk
---------- "VisionWare:   The home of DOS/SQL/UNIX/X/VMS integration" ---------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads