2
<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>
<p><span class="h-card" translate="no"><a href="https://digipres.club/@foone" class="u-url mention">@<span>foone</span></a></span> that doesn&#39;t sound so bad to me</p>
<p>lemme just write a python script to talk to a cross-platform c++ program through shared memory on win32.</p><p>this certainly won&#39;t be an infinite nightmare, right?</p>
<p>so, the gdb protocol specifies g and G commands, &quot;read/write target register&quot;, to transfer register values in target byte order. i don&#39;t know what must be wrong with you to define a protocol this way, but okay</p><p>... but then lldb interprets them always in the host (the machine lldb runs at) byte order.</p><p>you can&#39;t win.</p>