> So Im not sure how can I register my_set_callback function in the
already
> started Python-Interpreter and to explain my DLL which Python-Function
is
> to call when the new values in my DLL were calculated.
I'm not sure I understand your problem. The tail of the code you posted
looks like
It's mostly for testing purposes. The password change affect a few thousand
of our customers, so the group I wrote the script for wants to be able to
disable the SetPassword/SetInfo command to do a test run of the script and
see if it will encounter any permission/other problems before the
"Product
Hello John,
Why does it matter?
Why not just ignore the specific type of exception raised by an invalid
SetPassword() or SetInfo() request as follows:
try:
adsuser.SetPassword(trans.password)
adsuser.SetInfo()
except :
pass # or whatever
except :
pass # or whatever
except Exception,
Title: Message
I have
a script that changes user passwords, and it throws exceptions then executing
the SetPassword() or SetInfo() commands on a AD user account that it does
not have "set password" privileges on. To avoid the exception being thrown, I
would like to have the script check whet
Dear friends,
Im hoping to receive some tips to my problem. At the moment Im trying to implement a callback between Python and my C++-DLL.
My DLL calculates permanently some values and stores them in member-variables in one of the DLL-classes.
There are some exported functions in my DLL for sta