I need some help with a ctypes POINTER question. My python module
calls a C-dll and receives a pointer to a structure. A (c-code) null pointer
indicates no message. How do I test this in ctypes?
Thanks!
Marcus
-- code snippet
pMsg = mydll.GetMessage() # pointer to a struct conatining message info
# if pMsg == null then no message --> how to test this?
# else
# process message