windll no reference

Radu Ciora raduciora at yahoo.com
Mon Sep 10 10:57:12 PDT 2007


Hi all,

given the following code:

from ctypes import *
print windll.MSO    #everything fine - object reference gets printed

which works fine,
I have the following code:

from ctypes import *

def logMessage(self, i_message):
        wx.CallAfter(self.parent.LogMessage, i_message)
 
...
def LogMessage(i_message):
       print windll.kernel32   #everything fine - object reference gets printed
       print windll.MSO        #not OK nothing is being printed
#It doesn't print anything, doesn't throw an exception, nothing happens.

Has anyone faced this problem before?
 
Regards,
Radu.


      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html




More information about the wxpython-users mailing list