Click here to Skip to main content
15,915,319 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Replacing Views Pin
kiranin29-Aug-06 20:12
kiranin29-Aug-06 20:12 
QuestionProblem in replacing Views Pin
kiranin29-Aug-06 19:03
kiranin29-Aug-06 19:03 
AnswerRe: Problem in replacing Views Pin
uday kiran janaswamy29-Aug-06 19:51
uday kiran janaswamy29-Aug-06 19:51 
QuestionRe: Problem in replacing Views Pin
David Crow30-Aug-06 3:36
David Crow30-Aug-06 3:36 
Questionhow to write a multithread breakpoint resume ftp programe? Pin
P.Dragon29-Aug-06 18:36
P.Dragon29-Aug-06 18:36 
AnswerRe: how to write a multithread breakpoint resume ftp programe? Pin
Prakash Nadar29-Aug-06 20:42
Prakash Nadar29-Aug-06 20:42 
GeneralRe: how to write a multithread breakpoint resume ftp programe? Pin
Steve S29-Aug-06 21:47
Steve S29-Aug-06 21:47 
AnswerRe: how to write a multithread breakpoint resume ftp programe? Pin
ThatsAlok29-Aug-06 23:35
ThatsAlok29-Aug-06 23:35 
GeneralRe: how to write a multithread breakpoint resume ftp programe? Pin
Prakash Nadar30-Aug-06 5:19
Prakash Nadar30-Aug-06 5:19 
QuestionSearching Shared Folders Pin
Ratish Philip29-Aug-06 16:59
Ratish Philip29-Aug-06 16:59 
AnswerRe: Searching Shared Folders Pin
Nibu babu thomas29-Aug-06 19:32
Nibu babu thomas29-Aug-06 19:32 
GeneralRe: Searching Shared Folders Pin
Ratish Philip29-Aug-06 19:48
Ratish Philip29-Aug-06 19:48 
GeneralRe: Searching Shared Folders Pin
Nibu babu thomas30-Aug-06 0:27
Nibu babu thomas30-Aug-06 0:27 
GeneralRe: Searching Shared Folders Pin
David Crow30-Aug-06 3:41
David Crow30-Aug-06 3:41 
AnswerRe: Searching Shared Folders Pin
Hamid_RT31-Aug-06 6:13
Hamid_RT31-Aug-06 6:13 
QuestionReading the Edit properties from different applications Pin
Vissu8929-Aug-06 16:44
Vissu8929-Aug-06 16:44 
AnswerRe: Reading the Edit properties from different applications Pin
Naveen29-Aug-06 17:24
Naveen29-Aug-06 17:24 
GeneralRe: Reading the Edit properties from different applications Pin
Vissu8929-Aug-06 18:08
Vissu8929-Aug-06 18:08 
GeneralRe: Reading the Edit properties from different applications Pin
Naveen29-Aug-06 18:37
Naveen29-Aug-06 18:37 
GeneralRe: Reading the Edit properties from different applications Pin
Vissu8929-Aug-06 19:29
Vissu8929-Aug-06 19:29 
GeneralRe: Reading the Edit properties from different applications Pin
Naveen29-Aug-06 19:47
Naveen29-Aug-06 19:47 
GeneralRe: Reading the Edit properties from different applications Pin
David Crow30-Aug-06 3:44
David Crow30-Aug-06 3:44 
GeneralRe: Reading the Edit properties from different applications Pin
Hamid_RT31-Aug-06 6:00
Hamid_RT31-Aug-06 6:00 
Questionlarge buffers Pin
thathvamsi29-Aug-06 16:42
thathvamsi29-Aug-06 16:42 
hi all,
iam trying to receive data from usb in my mainframe.cpp file where the usb read is done as a separate thread. i want to reformat the received buffer and pass this buffer to a WM_PLOT function which is in projview.cpp file and inside plot function i use this buffer to plot the function.

the trouble iam facing is this buffer has to be very large ie., the buffer that is used to receive the data from usb has to be 3000000 bytes long. hence, the reformat buffer has also to be that big.
how do i create the buffer? can anyone show me some code snippet to do the above method. to create such big buffers, i tried using unsigned long* buf = new unsigned long [3000000];

but if i create the reformat buffer as such, i need to delete it as well but i need to pass this buffer on to projview.cpp file, then how will i do it? where will i delete it?

is there a better way of doing it? i desperately need help.
Thanks in advance.

AnswerRe: large buffers Pin
Steve S29-Aug-06 21:56
Steve S29-Aug-06 21:56 

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.