[pso] PID w2k

Cibu Cristian pso@cursuri.cs.pub.ro
Thu, 25 Mar 2004 20:28:24 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0023_01C412A7.B935DD90
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

ca sa aflu pidul procesului curent, folosesc GetCurrentProcessId()
Doar ca pentru el trebuie inclus <widows.h>.
Daca il includ, nu-mi mai genereaza obj-ul.

Care ar fi solutia?
------=_NextPart_000_0023_01C412A7.B935DD90
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>ca sa aflu pidul procesului curent, =
folosesc=20
GetCurrentProcessId()</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Doar ca pentru el trebuie inclus=20
&lt;widows.h&gt;.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Daca il includ, nu-mi mai genereaza=20
obj-ul.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Care ar fi =
solutia?</FONT></DIV></BODY></HTML>

------=_NextPart_000_0023_01C412A7.B935DD90--