🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.ole
Article #27

DDE-problem with MS-TestBasic procedure "DDERequest"

#27
From: Alexander Forst
Date: Mon, 29 Apr 1996 00:00
51 lines
2802 bytes
*****************************************************************
I'm posting for a friend. I apologise in advance if this
posting is not appropriate in these newsgroups.

Please send your answers by email to  alex@complang.tuwien.ac.at
*****************************************************************

I have encountered a problem with the "DDERequest" procedure from
MS-Test's DDE dynamic link library. I'm using the command to communicate
with a self-developed application acting as the DDE server.
This application accepts a series of requests, most of them work together
well with the TestBasic client.
However, a few requests (although processed correctly by the server) constantly
result in a runtime error ("A request for a synchronous data transaction has
timed out"). I have executed these requests from other client applications 
successfully, even a WordBasic implementation worked alright.

The code sample below shows one of the faulty DDE requests:

result$  = string$(16," ")             ' data buffer
itemstr$ = "Person.numKbz.isSelAt[1]"  ' asks the server, whether a specific
                                       ' line (#1) of a multi-line screen 
                                       ' item ("numKbz") is selected or not

dummy%   = DdeRequest(_GLOB_DDE_HANDLE, itemstr$, result$, len(result$), 
                      CF_TEXT)



Environment: 

Compaq Deskpro XL 590 PC, Windows 3.1, MS-Test v3.00a



QUESTION:

I would like to know if there are any known DDE-conversation related problems 
with MS-TestBasic and even more how to get rid of them.


Thanks in advance,

Peter Schiehl

-- 
/ "Dad! You killed the zombie Flanders!"  |          Alexander Forst         \
\ "He was a zombie?"       ______________/      alex@complang.tuwien.ac.at   /
/                         /                  University of Technology Vienna \
\ Bart & Homer Simpson   | <http://www.complang.tuwien.ac.at/alex/home.html> /
Technical Details
Message-ID: <4m2ij5$f4h@news.tuwien.ac.at>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108cda,190363e0ef25775b,start
X-Google-Attributes: gid108cda,public
X-Google-Thread: 1105ff,190363e0ef25775b,start
X-Google-Attributes: gid1105ff,public
X-Google-Thread: f6ef4,190363e0ef25775b,start
X-Google-Attributes: gidf6ef4,public
X-Google-Thread: f801d,190363e0ef25775b,start
X-Google-Attributes: gidf801d,public
From: alex@a3.complang.tuwien.ac.at (Alexander Forst)
Subject: DDE-problem with MS-TestBasic procedure "DDERequest"
Date: 1996/04/29
Message-ID: <4m2ij5$f4h@news.tuwien.ac.at>
X-Deja-AN: 152044245
organization: TU Wien
followup-to: comp.os.ms-windows.programmer
reply-to: alex@complang.tuwien.ac.at
newsgroups: comp.os.ms-windows.programmer.ole,comp.os.ms-windows.programmer,comp.windows.ms.programmer,fido.ger.windows.prog