in reply to Re^3: Win32::GuiTest::SendMessage/AllocateVirtualMemory and TCHAR**
in thread [SOLVED] Win32::GuiTest::SendMessage/AllocateVirtualMemory and TCHAR**

It's such a wonderful sensation of enlightenment and finalization when someone (in this case vr) comes along and points out such a (seemingly) simple thing

... especially when I'd started that TCHAR** debug in July, and only visited it intermittently, since I was never making headway on it. Most of the time, when I think I have a SoPW, making the SSCCE rubber duck-s it without the post ever going through. But since even my SSCCE that I pruned and tweaked over the weekend didn't solve it, I finally had to post today.

(The other thing missing from my original was the pack string of Q vs L -- that conditional wasn't there in my original, so even if I had the ->{ptr}, $nFiles, the original wouldn't have worked because half the pointer was truncated.)

Thanks again, vr, for the extra set of eyes.

  • Comment on Re^4: Win32::GuiTest::SendMessage/AllocateVirtualMemory and TCHAR**
  • Download Code

Replies are listed 'Best First'.
Re^5: Win32::GuiTest::SendMessage/AllocateVirtualMemory and TCHAR**
by stevieb (Canon) on Sep 23, 2019 at 20:42 UTC
    making the SSCCE rubber duck...

    Honest to goodness, in the post you replied to, I had an addition to my statement that read something like "GrandFather, years ago, taught me about Rubber Duck Debugging.", but I removed it, as this seemed a bit more than that.

    Very happy you got the resolution. I'm sure you've already updated your cross-posts :)