Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Men of peace usually are [brave]. -- Spock, "The Savage Curtain", stardate 5906.5


devel / comp.os.ms-windows.programmer.win32 / What DLL is processthreadsapi/GetCurrentProcessId located in?

SubjectAuthor
* What DLL is processthreadsapi/GetCurrentProcessId located in?T
+* What DLL is processthreadsapi/GetCurrentProcessId located in?R.Wieser
|`* What DLL is processthreadsapi/GetCurrentProcessId located in?T
| `- What DLL is processthreadsapi/GetCurrentProcessId located in?R.Wieser
`* What DLL is processthreadsapi/GetCurrentProcessId located in?Apd
 `- What DLL is processthreadsapi/GetCurrentProcessId located in?T

1
What DLL is processthreadsapi/GetCurrentProcessId located in?

<tl7kai$2tmsa$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1139&group=comp.os.ms-windows.programmer.win32#1139

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T@invalid.invalid (T)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: What DLL is processthreadsapi/GetCurrentProcessId located in?
Date: Fri, 18 Nov 2022 01:46:58 -0800
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <tl7kai$2tmsa$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 18 Nov 2022 09:46:58 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c4c7e03a0a561b4261ab702324b36433";
logging-data="3070858"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/sPlBTzW0/Qfzo7Fu0Ttw0j34UZURJAIc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:ADTsf0eheecxvjyBb0iH0yAWK4A=
Content-Language: en-US
 by: T - Fri, 18 Nov 2022 09:46 UTC

Hi All,

I am trying to make from Raku a call to

GetCurrentProcessId function (processthreadsapi.h)

https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getcurrentprocessid

Raku's compiler does not liek

sub GetCurrentProcessId()
is native("processthreadsapi")
is symbol("GetCurrentProcessId")
returns DWORD
{ * };

It can't find "processthreadsapi.dll".

What dll is GetCurrentProcessId located in?

Many thanks,
-T

Re: What DLL is processthreadsapi/GetCurrentProcessId located in?

<tl7qui$stp$1@gioia.aioe.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1140&group=comp.os.ms-windows.programmer.win32#1140

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: What DLL is processthreadsapi/GetCurrentProcessId located in?
Date: Fri, 18 Nov 2022 12:39:45 +0100
Organization: Aioe.org NNTP Server
Lines: 16
Message-ID: <tl7qui$stp$1@gioia.aioe.org>
References: <tl7kai$2tmsa$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="29625"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-RFC2646: Format=Flowed; Response
X-Notice: Filtered by postfilter v. 0.9.2
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Priority: 3
 by: R.Wieser - Fri, 18 Nov 2022 11:39 UTC

T,

> What dll is GetCurrentProcessId located in?

Its located in Kernel32.dll

Next time when you want to figure it out you could do worse than to search
"learn.microsoft.com" for it (perhaps like this : "site:learn.microsoft.com
GetCurrentProcessId". Works for several search engines, not just Google),
and than, on the returned MS webpage, look at the "Requirements" box at the
bottom. It mostly has a "DLL" entry.

Regards,m
Rudy Wieser

Re: What DLL is processthreadsapi/GetCurrentProcessId located in?

<tl7rv8$2u8vb$1@apd.eternal-september.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1141&group=comp.os.ms-windows.programmer.win32#1141

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!apd.eternal-september.org!.POSTED!not-for-mail
From: not@all.invalid (Apd)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: What DLL is processthreadsapi/GetCurrentProcessId located in?
Date: Fri, 18 Nov 2022 11:57:20 -0000
Organization: ad hoc
Lines: 18
Message-ID: <tl7rv8$2u8vb$1@apd.eternal-september.org>
References: <tl7kai$2tmsa$1@dont-email.me>
Injection-Date: Fri, 18 Nov 2022 11:57:28 -0000 (UTC)
Injection-Info: apd.eternal-september.org; posting-host="007358967f052cfe307c217969c83d2e";
logging-data="3089387"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZjNwmk12w5b1YHaI3jaDY"
Cancel-Lock: sha1:TBqdQVk0GyY4A0NJtJL+4TVYxT4=
X-MSMail-Priority: Normal
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
 by: Apd - Fri, 18 Nov 2022 11:57 UTC

"T" wrote:
> I am trying to make from Raku a call to
>
> GetCurrentProcessId function (processthreadsapi.h)

That's the C header file containing its definition.

> https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getcurrentprocessid

> It can't find "processthreadsapi.dll".

Because it's not a DLL

> What dll is GetCurrentProcessId located in?

kernel32.dll - it says so in the MS docs above.

Re: What DLL is processthreadsapi/GetCurrentProcessId located in?

<tl7s3a$2u8a1$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1142&group=comp.os.ms-windows.programmer.win32#1142

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T@invalid.invalid (T)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: What DLL is processthreadsapi/GetCurrentProcessId located in?
Date: Fri, 18 Nov 2022 03:59:38 -0800
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <tl7s3a$2u8a1$1@dont-email.me>
References: <tl7kai$2tmsa$1@dont-email.me> <tl7qui$stp$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 18 Nov 2022 11:59:38 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c4c7e03a0a561b4261ab702324b36433";
logging-data="3088705"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19i14kezjbxF2efWXY9AMz8QJnYhKClS98="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:tb/VJ86bDzBXBQ46mw32V5XY5B8=
In-Reply-To: <tl7qui$stp$1@gioia.aioe.org>
Content-Language: en-US
 by: T - Fri, 18 Nov 2022 11:59 UTC

On 11/18/22 03:39, R.Wieser wrote:
> T,
>
>> What dll is GetCurrentProcessId located in?
>
> Its located in Kernel32.dll
>
> Next time when you want to figure it out you could do worse than to search
> "learn.microsoft.com" for it (perhaps like this : "site:learn.microsoft.com
> GetCurrentProcessId". Works for several search engines, not just Google),
> and than, on the returned MS webpage, look at the "Requirements" box at the
> bottom. It mostly has a "DLL" entry.
>
> Regards,m
> Rudy Wieser
>
>

Hi Rudy,

The did the trick. Thank you!

And I FINALLY found it at the bottom of the link
I posted in the "requirements section". Grrrrrr

-T

Re: What DLL is processthreadsapi/GetCurrentProcessId located in?

<tl7s5c$2u8a1$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1143&group=comp.os.ms-windows.programmer.win32#1143

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: T@invalid.invalid (T)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: What DLL is processthreadsapi/GetCurrentProcessId located in?
Date: Fri, 18 Nov 2022 04:00:44 -0800
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <tl7s5c$2u8a1$2@dont-email.me>
References: <tl7kai$2tmsa$1@dont-email.me>
<tl7rv8$2u8vb$1@apd.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 18 Nov 2022 12:00:44 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c4c7e03a0a561b4261ab702324b36433";
logging-data="3088705"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/qok9IcuZ+/41DgeUSnb+VQm5+lB8mtKc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:uwgFfNcOGtnOZKooc+BJBT3uIRY=
Content-Language: en-US
In-Reply-To: <tl7rv8$2u8vb$1@apd.eternal-september.org>
 by: T - Fri, 18 Nov 2022 12:00 UTC

On 11/18/22 03:57, Apd wrote:
> "T" wrote:
>> I am trying to make from Raku a call to
>>
>> GetCurrentProcessId function (processthreadsapi.h)
>
> That's the C header file containing its definition.
>
>> https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getcurrentprocessid
>
>> It can't find "processthreadsapi.dll".
>
> Because it's not a DLL
>
>> What dll is GetCurrentProcessId located in?
>
> kernel32.dll

That was it. Thank you!

> - it says so in the MS docs above.
>
>

Way at the boot under teh "Requirement" section. Grrrr...

Re: What DLL is processthreadsapi/GetCurrentProcessId located in?

<tl7tqn$7vo$1@gioia.aioe.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1144&group=comp.os.ms-windows.programmer.win32#1144

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: What DLL is processthreadsapi/GetCurrentProcessId located in?
Date: Fri, 18 Nov 2022 13:29:03 +0100
Organization: Aioe.org NNTP Server
Lines: 15
Message-ID: <tl7tqn$7vo$1@gioia.aioe.org>
References: <tl7kai$2tmsa$1@dont-email.me> <tl7qui$stp$1@gioia.aioe.org> <tl7s3a$2u8a1$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="8184"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-RFC2646: Format=Flowed; Response
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
 by: R.Wieser - Fri, 18 Nov 2022 12:29 UTC

T,

> The did the trick. Thank you!

You're welcome.

> And I FINALLY found it at the bottom of the link
> I posted in the "requirements section". Grrrrrr

:-) That has never happend to me. No sirree. Never ! :-)

Regards,
Rudy Wieser

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor