Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWhat is "trap"? I'm not sure about terminology... Pin
Bash20-Jan-04 5:12
Bash20-Jan-04 5:12 
GeneralRe: What is "trap"? I'm not sure about terminology... Pin
Ravi Bhavnani20-Jan-04 5:15
professionalRavi Bhavnani20-Jan-04 5:15 
GeneralTrapping Kill Focus from my Custom Control Pin
tabish12120-Jan-04 3:33
tabish12120-Jan-04 3:33 
GeneralRe: Trapping Kill Focus from my Custom Control Pin
Ravi Bhavnani20-Jan-04 4:36
professionalRavi Bhavnani20-Jan-04 4:36 
GeneralRe: Trapping Kill Focus from my Custom Control Pin
tabish12120-Jan-04 5:10
tabish12120-Jan-04 5:10 
GeneralRe: Trapping Kill Focus from my Custom Control Pin
Roger Allen20-Jan-04 5:18
Roger Allen20-Jan-04 5:18 
GeneralRe: Trapping Kill Focus from my Custom Control Pin
tabish12120-Jan-04 7:01
tabish12120-Jan-04 7:01 
Generalhelp Pin
Anonymous20-Jan-04 3:12
Anonymous20-Jan-04 3:12 
can any 1 show me how i can read n send chunks of a bufffer at a time?

size = file.tellg();
file.seekg (0, std::ios::beg);
long filesize;
filesize = size;
char sizebuf[50];
ltoa(size,sizebuf,10);
send(newsock,sizebuf,strlen(sizebuf),0);
long sent = 0;
long sizee = filesize/10;
long marker = 0;
long final;
do{
//file.seekg (marker, std::ios::beg);
file.read(buffer + marker,sizee);
//file.get(buffer + marker,sizee);
sent = send(newsock,buffer,sizee,0);
marker = marker + sent;
// }while(final <= filesize);
}while(!strcmp(buffer,"eof"));

thanx Roll eyes | :rolleyes:
GeneralRe: help Pin
Larry J. Siddens20-Jan-04 3:39
Larry J. Siddens20-Jan-04 3:39 
GeneralMFC code works in some directorys and not others Pin
BrockVnm20-Jan-04 3:05
BrockVnm20-Jan-04 3:05 
GeneralRe: MFC code works in some directorys and not others Pin
Ravi Bhavnani20-Jan-04 4:38
professionalRavi Bhavnani20-Jan-04 4:38 
QuestionHow to create Listbox VC .NET Pin
sallas20-Jan-04 2:37
sallas20-Jan-04 2:37 
AnswerRe: How to create Listbox VC .NET Pin
Michael P Butler20-Jan-04 3:42
Michael P Butler20-Jan-04 3:42 
GeneralRe: How to create Listbox VC .NET Pin
sallas20-Jan-04 11:12
sallas20-Jan-04 11:12 
AnswerRe: How to create Listbox VC .NET Pin
Larry J. Siddens20-Jan-04 3:42
Larry J. Siddens20-Jan-04 3:42 
QuestionAccessing contents of Shell Folder Query? Pin
arrya_amit20-Jan-04 2:28
arrya_amit20-Jan-04 2:28 
QuestionHow to get/set the position of buttons, ListCtrl etc.? Pin
P-Rex20-Jan-04 1:52
P-Rex20-Jan-04 1:52 
AnswerRe: How to get/set the position of buttons, ListCtrl etc.? Pin
SJolly20-Jan-04 2:21
SJolly20-Jan-04 2:21 
AnswerRe: How to get/set the position of buttons, ListCtrl etc.? Pin
David Crow20-Jan-04 2:56
David Crow20-Jan-04 2:56 
QuestionAnybody who knows about Visual C++ Speech applications? Pin
satcat20-Jan-04 1:20
satcat20-Jan-04 1:20 
GeneralLoading Bitmap over the Button Pin
P. Gnana Prakash20-Jan-04 1:11
P. Gnana Prakash20-Jan-04 1:11 
GeneralRe: Loading Bitmap over the Button Pin
Monty220-Jan-04 1:48
Monty220-Jan-04 1:48 
GeneralRe: Loading Bitmap over the Button Pin
Anonymous20-Jan-04 1:57
Anonymous20-Jan-04 1:57 
GeneralRe: Loading Bitmap over the Button Pin
David Crow20-Jan-04 2:57
David Crow20-Jan-04 2:57 
GeneralMFC Clist and adding new objects Pin
Anonymous20-Jan-04 0:37
Anonymous20-Jan-04 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.