ToddAndMargo: Why are you referencing NativeHelpers::Blob when I've linked to the code you need. The bug was in the code snippet I've sent. NONE of my stuff is available via zef because CURI (and hence zef) have problems with large scale code that I am still trying to resolve.
You should be able to get a clean copy of the role from here <https://raw.githubusercontent.com/Xliff/p6-GLib/master/lib/GLib/Roles/TypedBuffer.pm6>. You should be able to download it, copy it to your project directory and execute it. No zef necessary. On Fri, Nov 25, 2022 at 4:50 PM ToddAndMargo <toddandma...@zoho.com> wrote: > On 11/24/22 20:55, Clifton Wood wrote: > > Heh! I had a bug in my code and you pretty much mimic'd it. That's on > > me. Line 114 should read: > > > > "my $a = GLib::Roles::TypedBuffer[WTS_SESSION_INFOA].new($ppSessionInf);" > > > > Let me know how it works out. > > > > > > zef uninstall NativeHelpers::Blob > ===> Uninstalled from C:\Users\tony\.raku > NativeHelpers::Blob:ver<0.1.12>:auth<github:salortiz> > > K:\Windows\NtUtil>zef install NativeHelpers::Blob > ===> Searching for: NativeHelpers::Blob > ===> Updating fez mirror: https://360.zef.pm/ > ===> Updated fez mirror: https://360.zef.pm/ > ===> Updating rea mirror: > https://raw.githubusercontent.com/Raku/REA/main/META.json > ===> Updated rea mirror: > https://raw.githubusercontent.com/Raku/REA/main/META.json > ===> Testing: NativeHelpers::Blob:ver<0.1.12>:auth<github:salortiz> > [NativeHelpers::Blob] ===SORRY!=== Error while compiling > > C:\Users\tony\.zef\tmp\NativeHelpers%3A%3ABlob%3Aver%3C0.1.12%3E%3Aauth%3Cgithub%3Asalortiz%3E.tar.gz\NativeHelpers-Blob-master/t\02-cstruct.t > [NativeHelpers::Blob] Failed to open file > C:\Users\tony\.zef\tmp\NativeHelpers%3A%3ABlob%3Aver%3C0.1.12%3E%3Aauth%3Cgithub%3Asalortiz%3E.tar.gz\NativeHelpers-Blob-master\t\.precomp\BE04B1FADFC312E3411CB403B43E629B7AED3ADC\27\27F410113BBD23B298581F9F713FBCFB39C1584E.repo-id.2BAIB5TQR7KNKMX1796GKOJF6.tmp: > > No such file or directory > [NativeHelpers::Blob] at > > C:\Users\tony\.zef\tmp\NativeHelpers%3A%3ABlob%3Aver%3C0.1.12%3E%3Aauth%3Cgithub%3Asalortiz%3E.tar.gz\NativeHelpers-Blob-master/t\02-cstruct.t:3 > [NativeHelpers::Blob] Actually thrown at: > [NativeHelpers::Blob] in any statement_control at C:\Program > Files\Rakudo\bin\..\share\perl6\lib/Perl6/Grammar.moarvm line 1 > [NativeHelpers::Blob] ===SORRY!=== Error while compiling > > C:\Users\tony\.zef\tmp\NativeHelpers%3A%3ABlob%3Aver%3C0.1.12%3E%3Aauth%3Cgithub%3Asalortiz%3E.tar.gz\NativeHelpers-Blob-master/t\99-my-meta.t > [NativeHelpers::Blob] Failed to open file > C:\Users\tony\.zef\tmp\NativeHelpers%3A%3ABlob%3Aver%3C0.1.12%3E%3Aauth%3Cgithub%3Asalortiz%3E.tar.gz\NativeHelpers-Blob-master\lib\.precomp\BE04B1FADFC312E3411CB403B43E629B7AED3ADC\27\27F410113BBD23B298581F9F713FBCFB39C1584E.repo-id.2Q72L8EJX9FJGLKXVSQOGR36G.tmp: > > No such file or directory > [NativeHelpers::Blob] at > > C:\Users\tony\.zef\tmp\NativeHelpers%3A%3ABlob%3Aver%3C0.1.12%3E%3Aauth%3Cgithub%3Asalortiz%3E.tar.gz\NativeHelpers-Blob-master/t\99-my-meta.t:3 > [NativeHelpers::Blob] Actually thrown at: > [NativeHelpers::Blob] in any statement_control at C:\Program > Files\Rakudo\bin\..\share\perl6\lib/Perl6/Grammar.moarvm line 1 > ===> Testing [FAIL]: NativeHelpers::Blob:ver<0.1.12>:auth<github:salortiz> > Aborting due to test failure: > NativeHelpers::Blob:ver<0.1.12>:auth<github:salortiz> (use --force-test > to override) > >