Click here to Skip to main content
15,894,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUnicode conversion problem(slovak characters) Pin
Vineet Kumar20-Mar-09 23:40
Vineet Kumar20-Mar-09 23:40 
GeneralRe: Unicode conversion problem(slovak characters) Pin
Stuart Dootson21-Mar-09 0:20
professionalStuart Dootson21-Mar-09 0:20 
QuestionDetails about File and Directory choosers(Very urgent.............................) Pin
AnithaSubramani20-Mar-09 23:35
AnithaSubramani20-Mar-09 23:35 
AnswerRe: Details about File and Directory choosers(Very urgent.............................) Pin
CPallini21-Mar-09 0:58
mveCPallini21-Mar-09 0:58 
QuestionRegQueryValueExW() Pin
p_196020-Mar-09 22:52
p_196020-Mar-09 22:52 
AnswerRe: RegQueryValueExW() Pin
Rajesh R Subramanian20-Mar-09 23:39
professionalRajesh R Subramanian20-Mar-09 23:39 
GeneralOT-Nice to see you again in the forum. Pin
CPallini21-Mar-09 0:27
mveCPallini21-Mar-09 0:27 
GeneralRe: OT-Nice to see you again in the forum. Pin
Rajesh R Subramanian21-Mar-09 4:31
professionalRajesh R Subramanian21-Mar-09 4:31 
AnswerRe: RegQueryValueExW() Pin
sashoalm21-Mar-09 0:34
sashoalm21-Mar-09 0:34 
QuestionThreading Pin
MsmVc20-Mar-09 20:51
MsmVc20-Mar-09 20:51 
AnswerRe: Threading Pin
Rajesh R Subramanian20-Mar-09 23:37
professionalRajesh R Subramanian20-Mar-09 23:37 
GeneralRe: Threading Pin
MsmVc21-Mar-09 2:50
MsmVc21-Mar-09 2:50 
GeneralRe: Threading Pin
Rajesh R Subramanian21-Mar-09 4:10
professionalRajesh R Subramanian21-Mar-09 4:10 
QuestionURLDownloadtoFile() Pin
p_196020-Mar-09 20:35
p_196020-Mar-09 20:35 
AnswerRe: URLDownloadtoFile() Pin
sashoalm20-Mar-09 21:26
sashoalm20-Mar-09 21:26 
Generalclass DownloadUrl Pin
sashoalm20-Mar-09 21:27
sashoalm20-Mar-09 21:27 
GeneralHow to use Pin
sashoalm20-Mar-09 21:35
sashoalm20-Mar-09 21:35 
try {
	// start connection to server
	DownloadUrl download_url("http://example.com/content.html");

	// memory buffer
	static const unsigned buffer_size = 64*1024; // 64 KB
	char buffer[buffer_size+1];

	// output file
	ofstream tmpfile("c:\\file.html", ios::out | ios::binary);

	// download the content
	while (int bytes_read = download_url.Get(buffer, buffer_size))
	{
		tmpfile.write(buffer, bytes_read);

		// show progress
	}
	
} 
// catch exceptions
catch (exception& ) {
	// do something
}


There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal

GeneralRe: How to use Pin
p_196020-Mar-09 21:39
p_196020-Mar-09 21:39 
GeneralRe: How to use Pin
sashoalm20-Mar-09 21:46
sashoalm20-Mar-09 21:46 
GeneralRe: How to use Pin
p_196020-Mar-09 22:19
p_196020-Mar-09 22:19 
GeneralRe: How to use Pin
sashoalm20-Mar-09 22:22
sashoalm20-Mar-09 22:22 
GeneralRe: How to use Pin
p_196020-Mar-09 22:35
p_196020-Mar-09 22:35 
GeneralRe: How to use Pin
sashoalm20-Mar-09 22:39
sashoalm20-Mar-09 22:39 
QuestionProblem in compling through vc++ 2005 Pin
raj157620-Mar-09 19:16
raj157620-Mar-09 19:16 
AnswerRe: Problem in compling through vc++ 2005 Pin
Stuart Dootson21-Mar-09 0:37
professionalStuart Dootson21-Mar-09 0: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.