rickey kyle w omwoerbknrbakerhughescom ive got simple dde server running would like addremove topics fly reason application uses subprocess open programs communicate back mine using dde topic never exactly though subprocess expects topic process_nameprocess_id example pid subprocesspopenprocess_namepid server ddecreateserver serveraddtopicdde_topicwafieldsetupstrpid would like create one dde server start application launch subprocesses addremove topics server possible code ive got dde server running separate thread whole thing go inside wxpython application import win32ui pywinmfc import object import dde import threading pythoncom time class ddetopicobjectobject def __init__self topicname objectobject__init__self ddecreatetopictopicname def execself cmd print topic asked exec cmd def test pythoncomcoinitialize server ddecreateserver serveraddtopicddetopictestprocess1234 servercreatemyserver print pumping messages 1 timesleep01 win32uipumpwaitingmessages0 1 threadingthreadtargetteststart launch subprocess add new topic server going work need create new dde server subprocess seems clunky kyle rickey _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 fri 08 aug 2008 080542 0500 pythonwin32 dde addtopic server started