Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: QUESTION about bitwise shift operations Pin
David Crow23-Oct-03 6:49
David Crow23-Oct-03 6:49 
Generalapply local-time-zone/dst on a DBTIMESTAMP variable Pin
ohadp22-Oct-03 5:35
ohadp22-Oct-03 5:35 
GeneralUse of the Keyboard's events Pin
DiakRufus22-Oct-03 4:54
DiakRufus22-Oct-03 4:54 
GeneralRe: Use of the Keyboard's events Pin
G. Steudtel22-Oct-03 5:22
G. Steudtel22-Oct-03 5:22 
QuestionHow do you remove focus from a listbox manually? Pin
Kelly R22-Oct-03 4:31
sussKelly R22-Oct-03 4:31 
AnswerRe: How do you remove focus from a listbox manually? Pin
includeh1022-Oct-03 4:42
includeh1022-Oct-03 4:42 
AnswerRe: How do you remove focus from a listbox manually? Pin
G. Steudtel22-Oct-03 5:08
G. Steudtel22-Oct-03 5:08 
GeneralRe: How do you remove focus from a listbox manually? Pin
Kelly R22-Oct-03 5:17
sussKelly R22-Oct-03 5:17 
AnswerRe: How do you remove focus from a listbox manually? Pin
David Crow22-Oct-03 5:13
David Crow22-Oct-03 5:13 
GeneralRe: How do you remove focus from a listbox manually? Pin
Kelly R22-Oct-03 5:31
sussKelly R22-Oct-03 5:31 
GeneralRe: How do you remove focus from a listbox manually? Pin
includeh1022-Oct-03 8:28
includeh1022-Oct-03 8:28 
GeneralRe: How do you remove focus from a listbox manually? Pin
David Crow22-Oct-03 8:55
David Crow22-Oct-03 8:55 
Generala simple Q about command.com Pin
includeh1022-Oct-03 4:26
includeh1022-Oct-03 4:26 
GeneralRe: a simple Q about command.com Pin
Kelly R22-Oct-03 5:04
sussKelly R22-Oct-03 5:04 
GeneralRe: a simple Q about command.com Pin
Kelly R22-Oct-03 5:09
sussKelly R22-Oct-03 5:09 
GeneralRe: a simple Q about command.com Pin
David Crow22-Oct-03 5:30
David Crow22-Oct-03 5:30 
GeneralRe: a simple Q about command.com Pin
Steve S22-Oct-03 6:01
Steve S22-Oct-03 6:01 
GeneralGetModuleFileName returning blank! Pin
ns22-Oct-03 3:59
ns22-Oct-03 3:59 
GeneralRe: GetModuleFileName returning blank! Pin
jhwurmbach22-Oct-03 4:16
jhwurmbach22-Oct-03 4:16 
Generalthanks., got it! Pin
ns22-Oct-03 4:37
ns22-Oct-03 4:37 
GeneralRe: GetModuleFileName returning blank! Pin
Moonspellwizard22-Oct-03 21:09
Moonspellwizard22-Oct-03 21:09 
GeneralApplication to control another Windows App Pin
Member 18130722-Oct-03 2:36
Member 18130722-Oct-03 2:36 
GeneralRe: Application to control another Windows App Pin
includeh1022-Oct-03 4:31
includeh1022-Oct-03 4:31 
GeneralRe: Application to control another Windows App Pin
Member 18130723-Oct-03 2:32
Member 18130723-Oct-03 2:32 
GeneralError deleteing BYTE array Pin
Atif Mushtaq22-Oct-03 2:05
Atif Mushtaq22-Oct-03 2:05 
I am alloating and deallocating a byte array as

void OnRecieve
{
if(pBuffer!=NULL)
{
delete []pBuffer;
pBuffer=NULL
}
pBuffer=new BYTE[5000];
}

i get the raw picture data from socket , allocate and dealloate memory as .
This code works fine for quite a long time , but may be after 3 , 4 hr.(So this code works fine for thousands executions )
I get the assertion while deleting this array.
in DBGHEAP.C File.

What might have the cause , Is there some other safer way to do this.



No Worries!

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.