🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2903

Re: DdeClientTransaction() error - false alarm?

#2903
From: Chris Doran
Date: Mon, 13 Dec 1999 00:00
20 lines
1691 bytes
In article <2098.13T544T11213557@sky.bus.com>,
  "Charlie Gibbs" <cgibbs@sky.bus.com> wrote:
> When is an error not an error?  How can DdeClientTransaction() return
> zero when a subsequent DdeGetLastError() returns DMLERR_NO_ERROR?
> ...

FWIW, I've recently seen the reverse problem -- DdeClientTransaction()
says it succeeds, and my (synchronous write) succeeds, but
DdeGetLastError returns DMLERR_INVALIDPARAMETER (all my parameters are
valid, honest!) I've tracked the DMLERR_INVALIDPARAMETER back to
Dynamic Data Studio (which I'm using as the test server -- thanks,
Roger). It looks as though a server can insert something into
DdeGetLastError's memory independent of the function you last called
<insert Twilight Zone theme>. Willying indeed!

Chris


Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <833mgq$otc$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <2098.13T544T11213557@sky.bus.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5ca7,fb629701f089a2c6
X-Google-Attributes: gidf5ca7,public
X-Google-Thread: 105df1,fb629701f089a2c6
X-Google-Attributes: gid105df1,public
From: Chris Doran <chris_doran@my-deja.com>
Subject: Re: DdeClientTransaction() error - false alarm?
Date: 1999/12/13
Message-ID: <833mgq$otc$1@nnrp1.deja.com>
X-Deja-AN: 560202958
References: <2098.13T544T11213557@sky.bus.com>
X-Http-Proxy: NetCache@www-cache.demon.co.uk: Version 3.4D8, 1.1 x30.deja.com:80 (Squid/1.1.22) for client 158.152.20.128, 195.11.50.209
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Mon Dec 13 20:55:58 1999 GMT
X-MyDeja-Info: XMYDJUIDchris_doran
Newsgroups: comp.os.ms-windows.programmer.misc,borland.public.cppbuilder.winapi
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)