Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GetProcessID missing in kernel in Windows 7 64bit

48 views
Skip to first unread message

Davide Angeli

unread,
Dec 17, 2009, 6:12:08 AM12/17/09
to
Hi to everybody, I'm writing a program that uses the windows api
GetProcessID from Kernel32.dll but when I run it on a computer with
Windows 7 64 bit installed the SO tells me that the function
GetProcessID is not present in Kernel32.dll (the same on Vista 64
bit). Is it possibile?

I'm looking for this in the MSDN but on the documentation of that API
there's nothing. Is there another way toretrive the same information?

Thank you

Davide Angeli

Kerem Gümrükcü

unread,
Dec 17, 2009, 7:21:27 AM12/17/09
to
Hi Davide,

it is "GetProcessId" not "GetProcessID". It is a big difference
for the compiler!

Regards

Kerem

--
-----------------------
Beste Gr�sse / Best regards / Votre bien devoue
Kerem G�mr�kc�
Latest Project: http://www.pro-it-education.de/software/deviceremover
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------

"Davide Angeli" <davide...@gmail.com> schrieb im Newsbeitrag
news:58071c17-8c54-4698...@d21g2000yqn.googlegroups.com...

Davide Angeli

unread,
Dec 17, 2009, 7:47:39 AM12/17/09
to
On 17 Dic, 13:21, Kerem Gümrükcü <kareem...@hotmail.com> wrote:
> Hi Davide,
>
> it is "GetProcessId" not "GetProcessID". It is a big difference
> for the compiler!
>
> Regards
>
> Kerem
>

Hi Karem,

You are right! I'm using this API from Delphi 2010 and in Delphi
windows api header the declaration of that API is wrong. If I correct
that declaration I solve the problem.

Thank you very much!

Davide


> --
>  -----------------------
> Beste Grüsse / Best regards / Votre bien devoue
> Kerem Gümrükcü


> Latest Project:http://www.pro-it-education.de/software/deviceremover
> Latest Open-Source Projects:http://entwicklung.junetz.de
> -----------------------
>

> "Davide Angeli" <davideang...@gmail.com> schrieb im Newsbeitragnews:58071c17-8c54-4698...@d21g2000yqn.googlegroups.com...

Kerem Gümrükcü

unread,
Dec 17, 2009, 9:51:56 AM12/17/09
to
Hi,

if the declaration is really wrong, then you
should report that to Embarcadero, so they
can fix that in their service releases/future
versions,...

Regards

Kerem

--
-----------------------
Beste Gr�sse / Best regards / Votre bien devoue
Kerem G�mr�kc�


Latest Project: http://www.pro-it-education.de/software/deviceremover
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------

"Davide Angeli" <davide...@gmail.com> schrieb im Newsbeitrag
news:39094e2f-6a16-4018...@m25g2000yqc.googlegroups.com...


> On 17 Dic, 13:21, Kerem G�mr�kc� <kareem...@hotmail.com> wrote:
>> Hi Davide,
>>
>> it is "GetProcessId" not "GetProcessID". It is a big difference
>> for the compiler!
>>
>> Regards
>>
>> Kerem
>>
>
> Hi Karem,
>
> You are right! I'm using this API from Delphi 2010 and in Delphi
> windows api header the declaration of that API is wrong. If I correct
> that declaration I solve the problem.
>
> Thank you very much!
>
> Davide
>
>
>> --
>> -----------------------

>> Beste Gr�sse / Best regards / Votre bien devoue
>> Kerem G�mr�kc�

Davide Angeli

unread,
Dec 17, 2009, 11:03:20 AM12/17/09
to
On 17 Dic, 15:51, Kerem Gümrükcü <kareem...@hotmail.com> wrote:
> Hi,
>
> if the declaration is really wrong, then you
> should report that to Embarcadero, so they
> can fix that in their service releases/future
> versions,...

Reported just now! Thanks

Davide

>
> Regards
>
> Kerem
>
> --
>  -----------------------
> Beste Grüsse / Best regards / Votre bien devoue
> Kerem Gümrükcü


> Latest Project:http://www.pro-it-education.de/software/deviceremover
> Latest Open-Source Projects:http://entwicklung.junetz.de
> -----------------------
>

> "Davide Angeli" <davideang...@gmail.com> schrieb im Newsbeitragnews:39094e2f-6a16-4018...@m25g2000yqc.googlegroups.com...


>
>
>
> > On 17 Dic, 13:21, Kerem Gümrükcü <kareem...@hotmail.com> wrote:
> >> Hi Davide,
>
> >> it is "GetProcessId" not "GetProcessID". It is a big difference
> >> for the compiler!
>
> >> Regards
>
> >> Kerem
>
> > Hi Karem,
>
> > You are right! I'm using this API from Delphi 2010 and in Delphi
> > windows api header the declaration of that API is wrong. If I correct
> > that declaration I solve the problem.
>
> > Thank you very much!
>
> > Davide
>
> >> --
> >>  -----------------------

> >> Beste Grüsse / Best regards / Votre bien devoue
> >> Kerem Gümrükcü

0 new messages