Click here to Skip to main content
16,005,826 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CList inside CMap not working? Pin
Kevein8-Apr-03 17:07
Kevein8-Apr-03 17:07 
GeneralRe: CList inside CMap not working? Pin
Dave Bryant8-Apr-03 17:14
Dave Bryant8-Apr-03 17:14 
GeneralRe: CList inside CMap not working? Pin
Kevein8-Apr-03 17:45
Kevein8-Apr-03 17:45 
AnswerRe: CList inside CMap not working? Pin
Shog98-Apr-03 17:17
sitebuilderShog98-Apr-03 17:17 
GeneralRe: CList inside CMap not working? Pin
Kevein8-Apr-03 17:46
Kevein8-Apr-03 17:46 
QuestionHow to add closed caption to Video Pin
Prudhvi Raju8-Apr-03 16:24
Prudhvi Raju8-Apr-03 16:24 
GeneralQ: winmm.lib and WAVE Output Pin
europajacek8-Apr-03 15:28
europajacek8-Apr-03 15:28 
GeneralPointer to DWORD Pin
DuFF8-Apr-03 14:36
DuFF8-Apr-03 14:36 
Hey,

I'm trying to close Kazaa using an IE toolbar. Kazaa has a system tray icon so it cannot be shut down using WM_CLOSE, it just minimizes to the tray. Someone suggested that I use TerminateProcess but I am having trouble.

To terminate the process you have to find the ExitCode, this is the code to find the ExitCode:
<br />
BOOL GetExitCodeProcess( <br />
  HANDLE hProcess, <br />
  LPDWORD lpExitCode<br />
);<br />


but to actually terminate the process the code is:
<br />
BOOL TerminateProcess(<br />
  HANDLE hProcess, <br />
  DWORD uExitCode<br />
);


When I try to execute the program I get the error:
cannot convert from 'unsigned long *' to 'int'
I am not sure how to convert the pointer to an int, can anyone help me?? Thanks.
GeneralRe: Pointer to DWORD Pin
Taka Muraoka8-Apr-03 14:59
Taka Muraoka8-Apr-03 14:59 
GeneralRe: Pointer to DWORD Pin
DuFF8-Apr-03 15:21
DuFF8-Apr-03 15:21 
GeneralRe: Pointer to DWORD Pin
Taka Muraoka8-Apr-03 15:27
Taka Muraoka8-Apr-03 15:27 
GeneralAutomation compliant COM Vs ActiveX Pin
devvvy8-Apr-03 12:59
devvvy8-Apr-03 12:59 
GeneralRe: Automation compliant COM Vs ActiveX Pin
J. Dunlap8-Apr-03 14:02
J. Dunlap8-Apr-03 14:02 
GeneralRe: Automation compliant COM Vs ActiveX Pin
Anonymous8-Apr-03 17:57
Anonymous8-Apr-03 17:57 
GeneralRe: Automation compliant COM Vs ActiveX Pin
J. Dunlap8-Apr-03 18:01
J. Dunlap8-Apr-03 18:01 
GeneralApplication aborts Windows shutdown Pin
RaiderCE8-Apr-03 12:35
RaiderCE8-Apr-03 12:35 
GeneralCDC::TransparentBlt Pin
john john mackey8-Apr-03 11:55
john john mackey8-Apr-03 11:55 
GeneralRe: CDC::TransparentBlt Pin
Brian Shifrin8-Apr-03 13:29
Brian Shifrin8-Apr-03 13:29 
QuestionHow do I output the IP Address after getting computer name?? Pin
IrishSonic8-Apr-03 11:18
IrishSonic8-Apr-03 11:18 
AnswerRe: How do I output the IP Address after getting computer name?? Pin
Bartosz Bien8-Apr-03 11:28
Bartosz Bien8-Apr-03 11:28 
GeneralRe: How do I output the IP Address after getting computer name?? Pin
IrishSonic8-Apr-03 12:26
IrishSonic8-Apr-03 12:26 
GeneralRe: How do I output the IP Address after getting computer name?? Pin
Bartosz Bien8-Apr-03 13:09
Bartosz Bien8-Apr-03 13:09 
AnswerRe: How do I output the IP Address after getting computer name?? Pin
csc8-Apr-03 21:10
csc8-Apr-03 21:10 
AnswerRe: How do I output the IP Address after getting computer name?? Pin
Dudi Avramov8-Apr-03 22:22
Dudi Avramov8-Apr-03 22:22 
GeneralProgramming Graphic LCD Panels Pin
#realJSOP8-Apr-03 9:37
professional#realJSOP8-Apr-03 9:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.