Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

DispatchWithEvent

2 réponses
Avatar
Chris
Hi everybody,

I use "DispatchWithEvent" on a com event object in my program.
I put the result in a variable.
How to definitely stop this DispatchWithEvent ??? i want to stop my
program listening to this event.

Thx

2 réponses

Avatar
Michel Claveau - MVP
Bonsoir !

As-tu essayé del ?
v = win32com.client.DispatchWithEvent(...
...
del(v)


@+
--
MCi
Avatar
Chris
On 16 déc, 21:12, "Michel Claveau -
MVP" wrote:
Bonsoir !

As-tu essayé  del  ?
 v = win32com.client.DispatchWithEvent(...
 ...
 del(v)

@+
--
MCi



Bonjour,

En fait je pensais que mon problème venait de là mais c'était autre
chose.
Pour info, del libère bien la variable et la ressource utilisée (une
dll).

Merci