Whole-known-network
<p>yeah I don't think pywin32'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 "foo" and an ascii "foo" 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, "DWD_GAMELINK_MMAP_R4");</p><p>and then on python, I call <br />OpenFileMappingA(FILE_MAP_ALL_ACCESS, False, "DWD_GAMELINK_MMAP_R4") and get a File Not Found error.</p><p>hmmm.</p>
<p>i'm going to move to a forest and susbsist on growing mushrooms</p>
<p>"I'm going to write an ARM7TDMI debugger", she said. "that sounds like a fun thing to do for a week", she said. "I'm sure it will be fine", 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'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't believe that the ophthalmologist got the Rx right until 2 weeks later when my eyes adjusted.</p>
<p>guess I'm gonna have to switch to ctypes!</p>
<p>I'm using pywin32 which doesn'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>