🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14538

Re: OLE drag and drop to Win Explorer

#14538
From: Kiril Dunn
Date: Mon, 11 Aug 2003 01:56
26 lines
1419 bytes
For anyone who may be interested, the bug was that I had:

    FORMATETC fm = {
        format,
        NULL,
        DVASPECT_CONTENT,
        tymed
    };

In my IEnumFormatEtc implementation, instead of:

    FORMATETC fm = {
        format,
        NULL,
        DVASPECT_CONTENT,
        -1,  // lindex
        tymed
    };


I'm suprised Builder didn't warn me that I'd missed an element in the structure.

Cheers,

Kiril
Technical Details
Message-ID: <3f36f7ce$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f3312c3$1@newsgroups.borland.com> <3f3325da$1@newsgroups.borland.com> <3f333712$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9ab32f79cfce460e
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-10 19:02:24 PST
From: "Kiril Dunn" <kiril.dunn@ezifile.com>
Sender: "Kiril Dunn" <kiril.dunn@ezifile.com>
Reply-To: "Kiril Dunn" <kiril.dunn@ezifile.com>
Subject: Re: OLE drag and drop to Win Explorer
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 210.50.147.2 210.50.147.2    
References: <3f3312c3$1@newsgroups.borland.com> <3f3325da$1@newsgroups.borland.com> <3f333712$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3f36f7ce$1@newsgroups.borland.com>
Date: 10 Aug 2003 18:56:30 -0700
X-Trace: newsgroups.borland.com 1060566990 207.105.83.65 (10 Aug 2003 18:56:30 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail