![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Oct 2005
Posts: 84
Rep Power: 4
![]() |
hi,
i am writing a http server programme and have an old code from a friend which uses getpid in error messages. In the win32 API, GetCurrentProcessId() gives the handle of current funtion but what function is used in c# plz help |
|
|
|
|
|
#2 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
You could always use Platform Invoke. It's a very simple signature and return type.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Oct 2005
Posts: 84
Rep Power: 4
![]() |
how i dont understand plz explain as i dont have any formal training in c# but am learning while i code so bear with me
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|