Click here to Skip to main content
15,913,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalthanks guys... Pin
l a u r e n4-Mar-01 11:44
l a u r e n4-Mar-01 11:44 
GeneralRe: and now an answer... Pin
Julien4-Mar-01 12:19
Julien4-Mar-01 12:19 
GeneralFast busy Pin
Antonio3-Mar-01 3:56
Antonio3-Mar-01 3:56 
GeneralRe: Fast busy Pin
James R. Twine3-Mar-01 9:25
James R. Twine3-Mar-01 9:25 
GeneralActiveX Events Pin
3-Mar-01 3:47
suss3-Mar-01 3:47 
GeneralRe: ActiveX Events Pin
3-Mar-01 10:43
suss3-Mar-01 10:43 
GeneralWINNT/2000 CMD Pin
3-Mar-01 0:54
suss3-Mar-01 0:54 
GeneralRe: WINNT/2000 CMD Pin
l a u r e n3-Mar-01 20:16
l a u r e n3-Mar-01 20:16 
i havent checked mike ryan's article in depth but you will want to be using the Process Status API (PSAPI.DLL) and the Virtual DOS Machine Debug API (VDMDBG.DLL) to get at the info you want

to get the 16-bit tasks inside the VDM's use VDMEnumTaskWOWEx():

if (!stricmp(szProcessName,"ntvdm.exe"))
{
VDMEnumTaskWOWEx(processID,EnumWin16Processes,0);
}

check the VDMDBG.H file for the info on this call

if the VDM is running an msdos app rather than hosting a WOW box it wont call your callback

the callback function EnumWin16Processes:

BOOL WINAPI EnumWin16Processes (DWORD dwThreadID,WORD hMod16, WORD hTask16, PSZ pszModName,PSZ pszFileName, LPARAM lpUserDefined)
{
wada wada wada ...
}


hope this helps
Smile | :)


---
"every year we invent better idiot proof systems and every year they invent better idiots"
GeneralRe: WINNT/2000 CMD Pin
4-Mar-01 3:07
suss4-Mar-01 3:07 
GeneralWorking with Forms in MSHTML Please Help Pin
2-Mar-01 23:02
suss2-Mar-01 23:02 
GeneralDetecting phone line status Pin
Antonio2-Mar-01 19:48
Antonio2-Mar-01 19:48 
GeneralRe: Detecting phone line status Pin
Joe Moldovan4-Mar-01 12:05
Joe Moldovan4-Mar-01 12:05 
GeneralDetecting phone line status Pin
Antonio2-Mar-01 19:48
Antonio2-Mar-01 19:48 
GeneralRe: Detecting phone line status Pin
l a u r e n2-Mar-01 22:17
l a u r e n2-Mar-01 22:17 
GeneralRe: Detecting phone line status Pin
James R. Twine3-Mar-01 9:30
James R. Twine3-Mar-01 9:30 
QuestionHow to remove splash using the commandline? Pin
Joan M2-Mar-01 16:15
professionalJoan M2-Mar-01 16:15 
AnswerRe: How to remove splash using the commandline? Pin
2-Mar-01 16:48
suss2-Mar-01 16:48 
GeneralRe: How to remove splash using the commandline? Pin
2-Mar-01 19:06
suss2-Mar-01 19:06 
GeneralRe: How to remove splash using the commandline? Pin
l a u r e n3-Mar-01 7:55
l a u r e n3-Mar-01 7:55 
QuestionCtrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Joan M2-Mar-01 16:13
professionalJoan M2-Mar-01 16:13 
AnswerRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Tim Deveaux3-Mar-01 3:23
Tim Deveaux3-Mar-01 3:23 
GeneralRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Joan M3-Mar-01 3:31
professionalJoan M3-Mar-01 3:31 
GeneralRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Tim Deveaux3-Mar-01 13:39
Tim Deveaux3-Mar-01 13:39 
GeneralRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
Tim Deveaux5-Mar-01 7:39
Tim Deveaux5-Mar-01 7:39 
AnswerRe: Ctrl+Alt+Del almost OK, but not 100% could you take a look at it? Pin
l a u r e n3-Mar-01 11:14
l a u r e n3-Mar-01 11:14 

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.