Re: MEMORY_BASIC_INFORMATION mbi;
"Diez B. Roggisch" <[email protected]> Wed, 4 Oct 2017 14:09:58 +0200
| Newsgroups | gmane.comp.python.ctypes |
|---|---|
| Message-ID | <[email protected]> |
--===============8652998628273879758== Content-Type: multipart/signed; boundary="Apple-Mail=_276F9CEC-08D7-4C0D-B6FF-27D2984CB9CB"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Apple-Mail=_276F9CEC-08D7-4C0D-B6FF-27D2984CB9CB Content-Type: multipart/alternative; boundary="Apple-Mail=_1388E686-58C8-4975-B990-D46955848E55" --Apple-Mail=_1388E686-58C8-4975-B990-D46955848E55 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Haven=E2=80=99t you been shown how to solve similar problems in the = past? http://ctypes-users.narkive.com/B30uTrsk/press-esc-to-exit#post3 = <http://ctypes-users.narkive.com/B30uTrsk/press-esc-to-exit#post3> What makes this problem different so you can=E2=80=99t follow the recipe = of declaring a C-structure as outlined there and in the ctypes = documentation? Diez > On 3. Oct 2017, at 21:33, Michael C <[email protected]> = wrote: >=20 >=20 > Hi all, I am trying to declare a structure, "MEMORY_BASIC_INFORMATION" >=20 > under C++ it's just >=20 > > code > MEMORY_BASIC_INFORMATION mbi; > > code end >=20 >=20 > How do I do that in python? >=20 > Thanks! > = --------------------------------------------------------------------------= ---- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! = http://sdm.link/slashdot_______________________________________________ > ctypes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ctypes-users --Apple-Mail=_1388E686-58C8-4975-B990-D46955848E55 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">Haven=E2=80=99t you been shown how to solve similar problems = in the past?<div class=3D""><br class=3D""></div><div = class=3D""> <a = href=3D"http://ctypes-users.narkive.com/B30uTrsk/press-esc-to-exit#post3" = class=3D"">http://ctypes-users.narkive.com/B30uTrsk/press-esc-to-exit#post= 3</a></div><div class=3D""><br class=3D""></div><div class=3D"">What = makes this problem different so you can=E2=80=99t follow the recipe of = declaring a C-structure as outlined there and in the ctypes = documentation?</div><div class=3D""><br class=3D""></div><div = class=3D"">Diez</div><div class=3D""><br class=3D""><div><blockquote = type=3D"cite" class=3D""><div class=3D"">On 3. Oct 2017, at 21:33, = Michael C <<a href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D""><br class=3D""><div class=3D"">Hi all, I am trying to declare = a structure, "MEMORY_BASIC_INFORMATION"</div><div class=3D""><br = class=3D""></div><div class=3D"">under C++ it's just</div><div = class=3D""><br class=3D""></div><div class=3D"">> code</div><div = class=3D"">MEMORY_BASIC_INFORMATION mbi;<br class=3D""></div><div = class=3D"">> code end</div><div class=3D""><br class=3D""></div><div = class=3D""><br class=3D""></div><div class=3D"">How do I do that in = python?</div><div class=3D""><br class=3D""></div><div = class=3D"">Thanks!</div></div> = --------------------------------------------------------------------------= ----<br class=3D"">Check out the vibrant tech community on one of the = world's most<br class=3D"">engaging tech sites, <a = href=3D"http://Slashdot.org" class=3D"">Slashdot.org</a>! <a = href=3D"http://sdm.link/slashdot__________________________________________= _____" = class=3D"">http://sdm.link/slashdot_______________________________________= ________</a><br class=3D"">ctypes-users mailing list<br class=3D""><a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a><br = class=3D"">https://lists.sourceforge.net/lists/listinfo/ctypes-users<br = class=3D""></div></blockquote></div><br class=3D""></div></body></html>= --Apple-Mail=_1388E686-58C8-4975-B990-D46955848E55-- --Apple-Mail=_276F9CEC-08D7-4C0D-B6FF-27D2984CB9CB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEEijcjZP0vXZhz8OhhyBau9wuVhecFAlnUz5YACgkQyBau9wuV hefovwf9EpQtxhSHIz5qlj+366TYHgeF5//wW94wwnvzEpaPC6KT3cbEI988DtfU fQx0wT2B51sl66aerKl5hQhGsCaZRV0z36wVR1s9rJtmjHfP8Ano4U43LO4RuCK4 tPgnOhecDQsurYzG3BDTOy2K+1ibyDu89kPr8+s7ZLmR8BAgVvnNYfAzvYgQaU2E 3HMGtprE1lNisr3flRlzNInt+ranZ2hQX6CMYysux+J0YmzbmEL8xjDPwJiLmWjj JB66yW0V338mCP2ul6LU3sGe4ocGKdNvos0WUMWcG0p594ovK7p0h9ApZjuMUxGE ovJr8WP67cCfR1mjUcgcji7WVxE3jA== =aBBF -----END PGP SIGNATURE----- --Apple-Mail=_276F9CEC-08D7-4C0D-B6FF-27D2984CB9CB-- --===============8652998628273879758== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============8652998628273879758== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ctypes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ctypes-users --===============8652998628273879758==--