Re: it cannot find a User32 function

Michael C <[email protected]> Thu, 04 May 2017 04:37:34 +0000
Newsgroups gmane.comp.python.ctypes
Message-ID <CANyKM1hVxtrPfi-q7TQ06NS=rv7jmiyxGs6qo8H=rjQKpcD6dg@mail.gmail.com>
--===============1736338291167518746==
Content-Type: multipart/alternative; boundary=001a114ab64c85c9e4054eab5548

--001a114ab64c85c9e4054eab5548
Content-Type: text/plain; charset=UTF-8

roger that

On Wed, May 3, 2017 at 9:36 PM eryk sun <[email protected]> wrote:

> On Thu, May 4, 2017 at 3:59 AM, Michael C
> <[email protected]> wrote:
> > Ah, so all I had to do was to use  User32.FindWindowW
>
> That's no substitute for understanding why FindWindowW and FindWindowA
> exist, how they're implemented in terms of the system ANSI and OEM
> code pages, how they're used in C via the UNICODE macro and the TCHAR
> type system, and the historical context. As your general knowledge
> improves, you'll be able to answer most of your own questions. If all
> you do is get shallow answers to narrow questions, then your ability
> to problem solve and your toolset for approaching new problems won't
> improve much at all.
>

--001a114ab64c85c9e4054eab5548
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div>roger that</div><div><br><div class=3D"gmail_quote"><div>On Wed, May 3=
, 2017 at 9:36 PM eryk sun &lt;<a href=3D"mailto:[email protected]">eryksun=
@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, =
May 4, 2017 at 3:59 AM, Michael C<br>
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">mys=
[email protected]</a>&gt; wrote:<br>
&gt; Ah, so all I had to do was to use=C2=A0 User32.FindWindowW<br>
<br>
That&#39;s no substitute for understanding why FindWindowW and FindWindowA<=
br>
exist, how they&#39;re implemented in terms of the system ANSI and OEM<br>
code pages, how they&#39;re used in C via the UNICODE macro and the TCHAR<b=
r>
type system, and the historical context. As your general knowledge<br>
improves, you&#39;ll be able to answer most of your own questions. If all<b=
r>
you do is get shallow answers to narrow questions, then your ability<br>
to problem solve and your toolset for approaching new problems won&#39;t<br=
>
improve much at all.<br>
</blockquote></div></div>

--001a114ab64c85c9e4054eab5548--


--===============1736338291167518746==
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
--===============1736338291167518746==
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

--===============1736338291167518746==--