Click here to Skip to main content
16,011,784 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CSplitterWnd inside another Pin
John Oliver15-Jul-04 2:11
John Oliver15-Jul-04 2:11 
GeneralMath “expert” wanted… Algorithm for finding line of two crossing areas Pin
anderslundsgard15-Jul-04 1:46
anderslundsgard15-Jul-04 1:46 
GeneralRe: Math “expert” wanted… Algorithm for finding line of two crossing areas Pin
vmaltsev15-Jul-04 3:25
vmaltsev15-Jul-04 3:25 
GeneralRe: Math “expert” wanted… Algorithm for finding line of two crossing areas Pin
anderslundsgard15-Jul-04 3:40
anderslundsgard15-Jul-04 3:40 
Questionhow to extract non ascii charachters from a text. Pin
ananttrivedi15-Jul-04 1:20
ananttrivedi15-Jul-04 1:20 
AnswerRe: how to extract non ascii charachters from a text. Pin
vmaltsev15-Jul-04 12:01
vmaltsev15-Jul-04 12:01 
QuestionHow to Enumerate threads in Process? Pin
vgrigor115-Jul-04 1:18
vgrigor115-Jul-04 1:18 
AnswerRe: How to Enumerate threads in Process? Pin
ThatsAlok15-Jul-04 1:55
ThatsAlok15-Jul-04 1:55 
use this little CODE
	HANDLE			SnapShot;<br />
				PROCESSENTRY32		*ProcessList=new PROCESSENTRY32;<br />
              <br />
<br />
				SnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL);<br />
				if(SnapShot==INVALID_HANDLE_VALUE)<br />
				{<br />
				<br />
				}<br />
<br />
<br />
				if(Process32First(SnapShot, ProcessList) == FALSE) <br />
					{<br />
									<br />
						CloseHandle(SnapShot);<br />
						return FALSE;<br />
					}<br />
<br />
<br />
				while(1) {<br />
					<br />
					if(Process32Next(SnapShot, ProcessList) == FALSE) <br />
					{<br />
						<br />
						if(GetLastError() != ERROR_NO_MORE_FILES) <br />
						{<br />
							<br />
							CloseHandle(SnapShot);<br />
							return TRUE;<br />
						}<br />
						else <br />
						{<br />
							CloseHandle(SnapShot);<br />
							return TRUE;<br />
						}<br />
					}<br />
<br />
					<br />
					process.Add(ProcessList->szExeFile);<br />
					PID.Add(ProcessList->th32ProcessID);<br />
					/*<br />
					cout << ProcessList.th32ProcessID << " ";<br />
					cout << ProcessList.szExeFile << " ";<br />
					cout << ProcessList.cntThreads << " Threads\n";*/<br />
				}


-----------------------------
"I Think It will Work"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
AnswerRe: How to Enumerate threads in Process? Pin
David Crow15-Jul-04 4:22
David Crow15-Jul-04 4:22 
QuestionHow to make screenShot to file? Pin
vgrigor115-Jul-04 1:15
vgrigor115-Jul-04 1:15 
AnswerRe: How to make screenShot to file? Pin
ThatsAlok15-Jul-04 1:38
ThatsAlok15-Jul-04 1:38 
GeneralRe: How to make screenShot to file? Pin
vgrigor115-Jul-04 1:58
vgrigor115-Jul-04 1:58 
GeneralLoad Bitmap from a specified path Pin
S.DARWIN PAUL RAJ15-Jul-04 0:57
S.DARWIN PAUL RAJ15-Jul-04 0:57 
GeneralRe: Load Bitmap from a specified path Pin
ThatsAlok15-Jul-04 1:12
ThatsAlok15-Jul-04 1:12 
GeneralRe: Load Bitmap from a specified path Pin
David Crow15-Jul-04 4:03
David Crow15-Jul-04 4:03 
GeneralRe: Load Bitmap from a specified path Pin
S.DARWIN PAUL RAJ15-Jul-04 15:08
S.DARWIN PAUL RAJ15-Jul-04 15:08 
GeneralCEdit text justification using ModifyStyle Pin
srev15-Jul-04 0:56
srev15-Jul-04 0:56 
GeneralRe: CEdit text justification using ModifyStyle Pin
David Crow15-Jul-04 4:06
David Crow15-Jul-04 4:06 
GeneralEvents from the back/forward buttons in a 5-button mouse Pin
Franc Morales15-Jul-04 0:51
Franc Morales15-Jul-04 0:51 
GeneralDoes anyone has experiences on processing gigabyte image with C++ Pin
swandream15-Jul-04 0:30
swandream15-Jul-04 0:30 
GeneralRe: Does anyone has experiences on processing gigabyte image with C++ Pin
Maximilien15-Jul-04 0:37
Maximilien15-Jul-04 0:37 
GeneralRe: Does anyone has experiences on processing gigabyte image with C++ Pin
swandream15-Jul-04 2:04
swandream15-Jul-04 2:04 
GeneralRe: Does anyone has experiences on processing gigabyte image with C++ Pin
Maximilien15-Jul-04 3:11
Maximilien15-Jul-04 3:11 
Generalfloat into array of bytes Pin
pankajdaga15-Jul-04 0:23
pankajdaga15-Jul-04 0:23 
GeneralRe: float into array of bytes Pin
pankajdaga15-Jul-04 1:10
pankajdaga15-Jul-04 1:10 

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.