hi,
(i dont know if its only a problem with DDERequest>)
here the problem:
syntax is:
DDERequest>Server,Topic,Item,Result,Timeout
if Item has a comma then there is a bug?
for example Item may be: "hi, how are you"
then this will not work because of the comma.
without it works.
i have already tried %Item% and Item
but none of them works..
any idea?
dde comma problem
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Hi,
For any command, if a parameter needs a comma in it just declare the variable separately and supply the variable to the command:
Let>Item=Hello, World
DDERequest>Server,Topic,Item,Result,Timeout
etc
For any command, if a parameter needs a comma in it just declare the variable separately and supply the variable to the command:
Let>Item=Hello, World
DDERequest>Server,Topic,Item,Result,Timeout
etc
MJT Net Support
[email protected]
[email protected]
hi,
if have tried again now it looks like that:
if i use % then i have the problem with the comma
but this problem seems to be solved if i dont use %
but if i dont use the % there is an other problem.
if Item has a text with CRLF then only the part until
the CRLF is used with the DDE call.
after i have written this ^^ i have tried it again and it worked correct.
then i tried it with the same clipboard content.. and it showed
an other effect:
my dde application only gets a XTYP_CONNECT_CONFIRM
from mshed.. after this nothing comes.. and mshed times out
sometimes mshed does not time out.. and uses 100% cpu.. no reaction.
i dont know if it is a problem with mshed. maybe it is a bug in my app?!
i dont know what to do because of that different side effects with the same
input..
next i check my code.
if have tried again now it looks like that:
if i use % then i have the problem with the comma
but this problem seems to be solved if i dont use %
but if i dont use the % there is an other problem.
if Item has a text with CRLF then only the part until
the CRLF is used with the DDE call.
after i have written this ^^ i have tried it again and it worked correct.
then i tried it with the same clipboard content.. and it showed
an other effect:
my dde application only gets a XTYP_CONNECT_CONFIRM
from mshed.. after this nothing comes.. and mshed times out
sometimes mshed does not time out.. and uses 100% cpu.. no reaction.
i dont know if it is a problem with mshed. maybe it is a bug in my app?!
i dont know what to do because of that different side effects with the same
input..
next i check my code.