<html>
<body>
In the attached .py test, I start an external program that provides data
access via DDE.<br>
create a server<br>
do a number of CreateConversation-s, one for each channel<br>
make connections<br>
do lots of .Request on the connections<br><br>
I tried just one channel, one connection, still 16378, so it seems to be
the total number of requests, irrespective of
connections/Conversations.<br><br>
Do I need to periodically clean up resources somehow? <br><br>
The docs at Activestate are a bit sparse, and I could not find the answer
from MSDN.com:<br>
<tt>"<font face="VERDANA" size=2>The maximum number of DDE
conversations that can be open simultaneously is determined by Microsoft
Windows and your computer's memory and resources. If the conversation
can't be initiated because application isn't running or doesn't recognize
topic, or if the maximum number of conversations has already been
reached, the DDE function returns a Null.</font> "<br>
</tt>But, conversations is not the issue.<br><br>
Am I doing DDE in a fundamentally inefficient manner?<br>
Would using 'CreateServerSystemTopic', 'CreateStringItem', 'CreateTopic'
help at all?<br><br>
When I run this script (or similar, counting requests), it always ends up
like this:<br>
C:\python ddeclient_tst.py<br><br>
...<br>
16362 same<br>
16363<br>
16364<br>
16365<br>
16366<br>
16367<br>
16368<br>
16369<br>
16370<br>
16371 same<br>
16372<br>
16373<br>
16374<br>
16375<br>
16376<br>
16377<br>
16378 <---- dies here with Windows error<br>
>> C:\<br><br>
I could shut down the server and reconnect it all, but that takes
significant time.<br><br>
Thanks,<br>
Ray </body>
</html>