p.vrijlandt at aig.azn.nl
Wed Nov 21 12:53:33 CET 2001
"Patrick Vrijlandt" <p.vrijlandt at aig.azn.nl> schreef in bericht
news:9tg4bp$k4k$1 at odysseus.uci.kun.nl...
> This is all magic:
> import dde
> server = dde.CreateServer()
> conversation = dde.CreateConversation(self.server)
conversation = dde.CreateConversation(server)
# I have them in a class
> conversation.ConnectTo(application, service)
> I'm afraid python dde leaks memory, but I haven't checked the source and
> have no confirmation from the author. If your application crashes after a
> few thousand dde-calls, think of this.
> "David Brady" <daves_spam_dodging_account at yahoo.com> schreef in bericht
> news:mailman.1006302086.2966.python-list at python.org...
> > Hi all,
> > Recently I asked how Python could be used to perform
> > DDE, and the answer I got was something like "check
> > out win32all", which I have done. I am now at wit's
> > end.
> > I have an application running that has a DDE server in
> > it. I know the name of server, the topic, and the
> > item I want to retrieve from it. I imagine from
> > reading ActiveState's documentation that if I have a
> > PyDDEConv object handy, I can call its
> > Connect(server,topic) method to get the topic, from
> > which I can get an item, from which I can make
> > requests.
> > So, the question of the hour is, how in the heck do I
> > get a PyDDEConv object in the first place?
> > Thanks,
> > -dB
> > =====
> > David Brady
> > daves_spam_dodging_account at yahoo.com
> > I'm feeling very surreal today... or *AM* I?
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> > http://geocities.yahoo.com/ps/info1
More information about the Python-list