Win32 dll / ctypes question
Robin Becker
robin at jessikat.fsnet.co.uk
Mon Dec 9 04:20:58 EST 2002
In article <3DF448B8.5010602 at ihug.co.nz>, nospam matthewm <"nospam
matthewm"@ihug.co.nz> writes
>First off - AWESOME module.
>Can you (and if so how-to) access an exported static struct in a Win32
>dll using python and/or ctypes?
>Thanks for your help. matthew.
>
unless you have a weird compiler/linker then static structs aren't
visible outside the source file that declares them. That's not to say
you can't declare the struct via a .h file, but being static you would
normally get a different copy for each using file.
--
Robin Becker
More information about the Python-list
mailing list