Windows memory pointers in Python?

Gregory Piñero gregpinero at
Wed Oct 12 18:04:08 CEST 2005

Hi guys,

I'm really lost of on this one. How can I turn this (VB?) code into Python?
Basically I call a function exposed from a dll and it returns me what I
believe is a pointer to a location in memory? Now I need to read that area
to get the string I need. This link has the solution but it is written in
the third post down)

I have to think Python would have something similiar.

Below is my relevant source code just in case you need that too.

I really appriciate any help anyone might have.

Gregory Piñero
Chief Innovation Officer
Blended Technologies
( <>)

#---My code: (testing the GOLDMINE API)
from ctypes import *
windll.GM6S32.GMW_NV_SetValue(container,"AccountNo", "(310)555-1212")
#finally, I call a function to see what I stored:
windll.GM6S32.GMW_NV_GetValue(container, "AccountNo", "'(none)'")
#it returns 16236360
#Now I need to access the string related to this somewhere ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list