Click here to Skip to main content
15,880,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dynamic Loading Of Portions of Controls(List Boxes, List Controls, Edit Boxes) in a Dialog Pin
Larry Mills Sr1-Nov-09 17:03
Larry Mills Sr1-Nov-09 17:03 
GeneralRe: Dynamic Loading Of Portions of Controls(List Boxes, List Controls, Edit Boxes) in a Dialog Pin
«_Superman_»1-Nov-09 17:05
professional«_Superman_»1-Nov-09 17:05 
GeneralRe: Dynamic Loading Of Portions of Controls(List Boxes, List Controls, Edit Boxes) in a Dialog Pin
Larry Mills Sr2-Nov-09 3:27
Larry Mills Sr2-Nov-09 3:27 
AnswerRe: Dynamic Loading Of Portions of Controls(List Boxes, List Controls, Edit Boxes) in a Dialog Pin
David Crow2-Nov-09 3:50
David Crow2-Nov-09 3:50 
GeneralRe: Dynamic Loading Of Portions of Controls(List Boxes, List Controls, Edit Boxes) in a Dialog Pin
Larry Mills Sr2-Nov-09 14:05
Larry Mills Sr2-Nov-09 14:05 
QuestionI need the answer of these Question soooo much plz Pin
shafea1-Nov-09 3:59
shafea1-Nov-09 3:59 
AnswerRe: I need the answer of these Question soooo much plz Pin
Maximilien1-Nov-09 4:25
Maximilien1-Nov-09 4:25 
QuestionHow can I avoid "Socket Notification Sink" error? Pin
rambojanggoon1-Nov-09 1:19
rambojanggoon1-Nov-09 1:19 
when I try to "restart system" or "turn off system" , I get error message "Socket Notification Sink" Dialog box.
And it didn't work reboot or turn off..

How can I avoid "Socket Notification Sink" error?

My main brief code as followings.
<br />
<br />
/* tread will do send something  infinitely with 5 second sleep unless it is ended*/<br />
UINT _ThreadDoSomethingInfinite(LPVOID pParam)<br />
{<br />
	<br />
	char buf[100];<br />
	CSocket h_sock;<br />
	CMyDlg *p=(CMyDlg*)pParam;<br />
	h_sock.Create( nPort , SOCK_DGRAM);<br />
	while(1)<br />
	{<br />
		<br />
		Sleep(5000);		<br />
		.		<br />
		.<br />
		stcpy(buf, "some data..buffering..");<br />
<br />
		h_sock.SendTo( buf , 1234 , "127.0.0.1" );		<br />
	}<br />
	<br />
	//will never reach...<br />
	h_sock.ShutDown(2);<br />
	h_sock.Close();<br />
 }<br />
<br />
<br />
CWinThread g_updsock;<br />
BOOL CMyDlg::OnInitDialog()<br />
<br />
	g_updsock=AfxBeginThread(_ThreadSendAgentStatus,this,THREAD_PRIORITY_NORMAL);<br />
	if(g_updsock==NULL) return;<br />
<br />
}<br />
	<br />

AnswerRe: How can I avoid "Socket Notification Sink" error? Pin
Moak2-Nov-09 9:22
Moak2-Nov-09 9:22 
QuestionTo convert a DAT file to a BMP file Pin
sgd.ind31-Oct-09 20:55
sgd.ind31-Oct-09 20:55 
AnswerRe: To convert a DAT file to a BMP file Pin
Code-o-mat1-Nov-09 3:00
Code-o-mat1-Nov-09 3:00 
GeneralRe: To convert a DAT file to a BMP file Pin
sgd.ind1-Nov-09 3:21
sgd.ind1-Nov-09 3:21 
GeneralRe: To convert a DAT file to a BMP file Pin
Code-o-mat1-Nov-09 3:46
Code-o-mat1-Nov-09 3:46 
Questionconvert md5 values to decimal Pin
nuttynibbles31-Oct-09 20:14
nuttynibbles31-Oct-09 20:14 
AnswerRe: convert md5 values to decimal Pin
CPallini31-Oct-09 21:20
mveCPallini31-Oct-09 21:20 
Questionreverse division to convert decimals to dinary Pin
Omegaclass31-Oct-09 19:57
Omegaclass31-Oct-09 19:57 
AnswerRe: reverse division to convert decimals to dinary Pin
CPallini31-Oct-09 21:04
mveCPallini31-Oct-09 21:04 
GeneralRe: reverse division to convert decimals to dinary Pin
Omegaclass31-Oct-09 21:36
Omegaclass31-Oct-09 21:36 
GeneralRe: reverse division to convert decimals to dinary Pin
CPallini1-Nov-09 6:32
mveCPallini1-Nov-09 6:32 
GeneralRe: reverse division to convert decimals to dinary Pin
Omegaclass1-Nov-09 10:10
Omegaclass1-Nov-09 10:10 
GeneralRe: reverse division to convert decimals to dinary Pin
CPallini1-Nov-09 10:13
mveCPallini1-Nov-09 10:13 
GeneralRe: reverse division to convert decimals to dinary Pin
Omegaclass1-Nov-09 12:28
Omegaclass1-Nov-09 12:28 
AnswerRe: reverse division to convert decimals to dinary Pin
David Crow2-Nov-09 4:08
David Crow2-Nov-09 4:08 
GeneralRe: reverse division to convert decimals to dinary Pin
Omegaclass2-Nov-09 17:15
Omegaclass2-Nov-09 17:15 
QuestionRe: reverse division to convert decimals to dinary Pin
David Crow3-Nov-09 2:44
David Crow3-Nov-09 2:44 

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.