Click here to Skip to main content
15,891,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: passing by reference Pin
Eytukan23-Mar-09 23:10
Eytukan23-Mar-09 23:10 
JokeRe: passing by reference Pin
CPallini23-Mar-09 23:21
mveCPallini23-Mar-09 23:21 
QuestionDrag and drop between ListBox Pin
AnithaSubramani23-Mar-09 19:31
AnithaSubramani23-Mar-09 19:31 
AnswerRe: Drag and drop between ListBox Pin
Eytukan23-Mar-09 20:06
Eytukan23-Mar-09 20:06 
QuestionRe: Drag and drop between ListBox Pin
David Crow24-Mar-09 3:18
David Crow24-Mar-09 3:18 
QuestionHow to get handle of PowerPoint window from taskbar? Pin
Md. Ali Naser Khan23-Mar-09 19:25
Md. Ali Naser Khan23-Mar-09 19:25 
AnswerRe: How to get handle of PowerPoint window from taskbar? Pin
Eytukan23-Mar-09 20:00
Eytukan23-Mar-09 20:00 
GeneralRe: How to get handle of PowerPoint window from taskbar? Pin
Md. Ali Naser Khan24-Mar-09 0:24
Md. Ali Naser Khan24-Mar-09 0:24 
GeneralRe: How to get handle of PowerPoint window from taskbar? Pin
Eytukan24-Mar-09 1:16
Eytukan24-Mar-09 1:16 
QuestionAdding Images in Combobox Pin
Rakesh523-Mar-09 18:33
Rakesh523-Mar-09 18:33 
AnswerRe: Adding Images in Combobox Pin
Chandrasekharan P23-Mar-09 18:43
Chandrasekharan P23-Mar-09 18:43 
GeneralRe: Adding Images in Combobox Pin
Rakesh523-Mar-09 18:50
Rakesh523-Mar-09 18:50 
AnswerRe: Adding Images in Combobox Pin
Eytukan23-Mar-09 19:12
Eytukan23-Mar-09 19:12 
GeneralRe: Adding Images in Combobox Pin
Rakesh523-Mar-09 19:42
Rakesh523-Mar-09 19:42 
QuestionClosing of view Pin
prithaa23-Mar-09 18:06
prithaa23-Mar-09 18:06 
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 

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.