Click here to Skip to main content
15,881,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionChttpConnection class problem Pin
prithaa31-Mar-07 6:31
prithaa31-Mar-07 6:31 
AnswerRe: ChttpConnection class problem Pin
Mark Salsbery1-Apr-07 7:10
Mark Salsbery1-Apr-07 7:10 
GeneralRe: ChttpConnection class problem Pin
prithaa1-Apr-07 20:09
prithaa1-Apr-07 20:09 
GeneralRe: ChttpConnection class problem Pin
Mark Salsbery2-Apr-07 4:21
Mark Salsbery2-Apr-07 4:21 
GeneralRe: ChttpConnection class problem Pin
prithaa2-Apr-07 19:21
prithaa2-Apr-07 19:21 
GeneralRe: ChttpConnection class problem Pin
Mark Salsbery3-Apr-07 7:09
Mark Salsbery3-Apr-07 7:09 
GeneralRe: ChttpConnection class problem Pin
prithaa4-Apr-07 21:50
prithaa4-Apr-07 21:50 
Questionmemory problem Pin
vasu_sri31-Mar-07 3:01
vasu_sri31-Mar-07 3:01 
i have 5 icons .. iam loading these icons into one static control...

then what the problem is after loading 4000 times into static control it exit automatically...

what the problem i dont know sir....

	<br />
	CString strFilename,strPercent,strFileExt;<br />
	strFileExt=(LPSTR)wparam;<br />
	<br />
	if(strFile=="BMP0")<br />
	{<br />
		m_stIcons1[icons].SetIcon(::LoadIcon(AfxGetApp()->m_hInstance,MAKEINTRESOURCE(IDI_BMP)));<br />
	}<br />
	else<br />
		if(strFile=="BMP1")<br />
		{<br />
			m_stIcons1[icons].SetIcon(::LoadIcon(AfxGetApp()->m_hInstance,MAKEINTRESOURCE(IDI_BMP1)));<br />
		}<br />
	else<br />
		if(strFile=="BMP2")<br />
		{<br />
			m_stIcons1[icons].SetIcon(::LoadIcon(AfxGetApp()->m_hInstance,MAKEINTRESOURCE(IDI_BMP2)));<br />
		}<br />
	else<br />
		if(strFile=="BMP3")<br />
		{<br />
			m_stIcons1[icons].SetIcon(::LoadIcon(AfxGetApp()->m_hInstance,MAKEINTRESOURCE(IDI_BMP3)));<br />
//			DestroyIcon(hIcon);<br />
		}<br />
	else<br />
		if(strFile=="BMP4")<br />
		{<br />
			m_stIcons1[icons].SetIcon(::LoadIcon(AfxGetApp()->m_hInstance,MAKEINTRESOURCE(IDI_BMP4)));<br />
		}<br />
	hIcon=m_stIcons1[icons].GetIcon();<br />
<br />
	DestroyIcon(hIcon);<br />
	m_stIcons1[icons].DestroyWindow();<br />
	m_stFileName1[icons].DestroyWindow();<br />
	m_stPercent1[icons].DestroyWindow();<br />
	icons++;<br />
	IconRes++;<br />
<br />
<br />


Regards,
Srinivas

AnswerRe: memory problem Pin
CPallini31-Mar-07 5:31
mveCPallini31-Mar-07 5:31 
Questionimapi.h for ICDBurn Pin
scoobydoo200731-Mar-07 2:59
scoobydoo200731-Mar-07 2:59 
AnswerRe: imapi.h for ICDBurn Pin
kanduripavan3-Apr-07 23:00
kanduripavan3-Apr-07 23:00 
Questionis an ip address enough Pin
prithaa31-Mar-07 2:32
prithaa31-Mar-07 2:32 
AnswerRe: is an ip address enough Pin
ThatsAlok1-Apr-07 21:16
ThatsAlok1-Apr-07 21:16 
GeneralRe: is an ip address enough Pin
prithaa1-Apr-07 23:35
prithaa1-Apr-07 23:35 
QuestionTo show calculator Pin
mikobi31-Mar-07 2:04
mikobi31-Mar-07 2:04 
AnswerRe: To show calculator Pin
prasad_som31-Mar-07 2:17
prasad_som31-Mar-07 2:17 
AnswerRe: To show calculator Pin
ThatsAlok1-Apr-07 21:14
ThatsAlok1-Apr-07 21:14 
Questionfolder display Pin
prathuraj31-Mar-07 1:48
prathuraj31-Mar-07 1:48 
AnswerRe: folder display Pin
CPallini31-Mar-07 8:04
mveCPallini31-Mar-07 8:04 
GeneralRe: folder display Pin
prathuraj31-Mar-07 20:18
prathuraj31-Mar-07 20:18 
GeneralRe: folder display Pin
CPallini1-Apr-07 0:48
mveCPallini1-Apr-07 0:48 
GeneralRe: folder display Pin
ThatsAlok1-Apr-07 21:13
ThatsAlok1-Apr-07 21:13 
Questiontree view control Pin
deeps_cute31-Mar-07 1:32
deeps_cute31-Mar-07 1:32 
AnswerRe: tree view control Pin
CPallini31-Mar-07 5:17
mveCPallini31-Mar-07 5:17 
GeneralRe: tree view control Pin
deeps_cute31-Mar-07 20:42
deeps_cute31-Mar-07 20:42 

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.