2
<p>yeah I don&#39;t think pywin32&#39;s mmapfile lets you use an ASCII filename, and windows apparently matches named shared memory by the bytes of the name, not the value of the characters. so a unicode &quot;foo&quot; and an ascii &quot;foo&quot; are different mappings</p>
<p>unicode: the DNS of filename problems</p>
<p>it was unicode!</p>
<p>the C++ code calls CreateFileMappingA( INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, memory_map_size, &quot;DWD_GAMELINK_MMAP_R4&quot;);</p><p>and then on python, I call <br />OpenFileMappingA(FILE_MAP_ALL_ACCESS, False, &quot;DWD_GAMELINK_MMAP_R4&quot;) and get a File Not Found error.</p><p>hmmm.</p>
<p>i&#39;m going to move to a forest and susbsist on growing mushrooms</p>
<p>&quot;I&#39;m going to write an ARM7TDMI debugger&quot;, she said. &quot;that sounds like a fun thing to do for a week&quot;, she said. &quot;I&#39;m sure it will be fine&quot;, she said</p>
<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@kev" class="u-url mention">@<span>kev</span></a></span> Me too! I just got my new prescription glasses as well. I always give myself a couple of weeks to make the switch. It&#39;s my way of building up to the inevitably jarring adjustment. </p><p>At least with experience I know that the adjustment blurriness is temporary. 😵‍💫 </p><p>Before I just didn&#39;t believe that the ophthalmologist got the Rx right until 2 weeks later when my eyes adjusted.</p>
<p>guess I&#39;m gonna have to switch to ctypes!</p>
<p>I&#39;m using pywin32 which doesn&#39;t give me the ability to distinguish between opening a named shared memory area and creating one, so it succeeds but just because it creates a new shared memory area for me full of nothing</p>