Click here to Skip to main content
15,885,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Closing of view Pin
CPallini23-Mar-09 22:47
mveCPallini23-Mar-09 22:47 
GeneralRe: Closing of view Pin
prithaa23-Mar-09 23:44
prithaa23-Mar-09 23:44 
GeneralRe: Closing of view Pin
prithaa24-Mar-09 1:58
prithaa24-Mar-09 1:58 
QuestionPreventing MDI doc/view from getting the focus when main frame is selected Pin
Joe Colosi23-Mar-09 17:37
Joe Colosi23-Mar-09 17:37 
QuestionSubchunk1Size while creating a wav file? Pin
Maxwell Chen23-Mar-09 17:00
Maxwell Chen23-Mar-09 17:00 
QuestionAn ADT class in MFC Dialog Pin
SirtanJedua23-Mar-09 13:35
SirtanJedua23-Mar-09 13:35 
AnswerRe: An ADT class in MFC Dialog Pin
Eytukan23-Mar-09 20:15
Eytukan23-Mar-09 20:15 
Questionhow i can resolve this problem???????????? Pin
josephsaliba23-Mar-09 12:45
josephsaliba23-Mar-09 12:45 
my project is about DSL download organiser to limit the download and upload of a pc connected throught a server to the internet, i use the c++ code, and buffers to save data as bytes in it and test if the size < limit or = but i dont know how i can know if a pc download or upload, and how i can copy the data (downloaded) from the internet explorer to the buffer, to test if the size is ok or not.
so what is the function to know if the pc use the internet to download or upload.
what is the function to add the data downloaded to the buffer as bytes.
10x
the code:
if(download) ??????????
{
void downloadlimit( )
{ AnsiString IP;
For(int i=0; i<nbofpc;i++)>
Switch (IP)
{Case ‘10.15.1.157’: buffer[limitbypc] = fputs(data); ?????? how i can copy the data as bytes to the buffer
(If(sizeof(data)) == sizeof(buffer)
WriteString (“you can’t download more”); break;
Case ’10.15.1.158’: buffer[limitbypc] = fputs(data); break;?????????
If(sizeof(data)) == sizeof(buffer)
WriteString (“you can’t download more”); break;
……………
Case’10.15.1.164’: ……….; break;

}
}
Return 0;}}


if(upload) ??????????
{
void uploadlimit( )
{ AnsiString IP;
For(int i=0; i<nbofpc;>Switch (IP)
{Case ‘10.15.1.157’: buffer[limitbypc] = fputs(data); If(sizeof(data)) == sizeof(buffer)
WriteString (“you can’t upload more”); break;
Case ’10.15.1.158’: buffer[limitbypc] = fputs(data); break;?????????
If(sizeof(data)) == sizeof(buffer)
WriteString (“you can’t upload more”); break;
……………
Case’10.15.1.164’: ……….; break;

}
}
Return 0;}}
plz helps me
10x joseph
AnswerRe: how i can resolve this problem???????????? Pin
Eytukan23-Mar-09 20:10
Eytukan23-Mar-09 20:10 
QuestionNot able to use volume control functions in MCI Pin
John50223-Mar-09 8:24
John50223-Mar-09 8:24 
AnswerRe: Not able to use volume control functions in MCI Pin
aks.23-Mar-09 19:04
aks.23-Mar-09 19:04 
QuestionRadio Btns in Studio2008 - help Pin
john john mackey23-Mar-09 8:04
john john mackey23-Mar-09 8:04 
AnswerRe: Radio Btns in Studio2008 - help Pin
TinyDevices23-Mar-09 8:17
professionalTinyDevices23-Mar-09 8:17 
GeneralRe: Radio Btns in Studio2008 - help Pin
john john mackey23-Mar-09 8:23
john john mackey23-Mar-09 8:23 
GeneralRe: Radio Btns in Studio2008 - help Pin
Eytukan23-Mar-09 19:05
Eytukan23-Mar-09 19:05 
GeneralRe: Radio Btns in Studio2008 - help Pin
john john mackey26-Mar-09 2:55
john john mackey26-Mar-09 2:55 
QuestionHow to Write DllMain Function Pin
dataminers23-Mar-09 6:49
dataminers23-Mar-09 6:49 
AnswerRe: How to Write DllMain Function Pin
TinyDevices23-Mar-09 7:21
professionalTinyDevices23-Mar-09 7:21 
AnswerRe: How to Write DllMain Function Pin
David Crow23-Mar-09 7:45
David Crow23-Mar-09 7:45 
QuestionC Implementation of Boyer-Moore of BMH Pin
Jeffrey Walton23-Mar-09 5:15
Jeffrey Walton23-Mar-09 5:15 
QuestionRe: C Implementation of Boyer-Moore of BMH Pin
David Crow23-Mar-09 5:54
David Crow23-Mar-09 5:54 
AnswerRe: C Implementation of Boyer-Moore of BMH Pin
Jeffrey Walton23-Mar-09 6:12
Jeffrey Walton23-Mar-09 6:12 
AnswerRe: C Implementation of Boyer-Moore of BMH Pin
Joe Woodbury23-Mar-09 12:20
professionalJoe Woodbury23-Mar-09 12:20 
GeneralRe: C Implementation of Boyer-Moore of BMH Pin
Jeffrey Walton23-Mar-09 21:22
Jeffrey Walton23-Mar-09 21:22 
Questionreusable dialog code Pin
tnarb23-Mar-09 3:39
tnarb23-Mar-09 3:39 

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.