On 11/30/22 12:53, ToddAndMargo via perl6-users wrote:
Let me ask this question a little simpler:
To answer my own questions, which I figured out
the hard way.
1) how to I tell NativeCall I only want the
C pointer back, not what it points to?
By declaring it as a pointer and creating it wi
Hi All,
Why can I get away with
my Str $x = "";
But I have to use .new here (an other places too)
my $ppSession = NativeCall::Types::Pointer.new();
Is there some rule I can follow that let me know
when I have to use .new and when I do not?
(I am getting tired of figuring it out the
har
Sounds good to me.
Sent from Yahoo Mail for iPhone
On Monday, November 28, 2022, 9:30 PM, Joseph Brenner wrote:
On the next few Sundays, I've got some schedule conflicts, so I've got
to skip holding the Raku Study Group when we usually would on December
4th.
Instead the next meeting will be
Let me ask this question a little simpler:
1) how to I tell NativeCall I only want the
C pointer back, not what it points to?
2) how do I tell NativeCall I am sending it
a C pointer?
Many thanks,
-T
Hi All,
In the following:
use NativeCall;
constant BYTE := uint8;
constant LPDWORD := uint64;# long pointer to a DWORD
constant LPSTR= CArray[BYTE]; # long pointer to a string
constant DWORD:= uint32;
constant HANDLE = Pointer[void];
sub WTSOpenServerA(
#`{
https://l