Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Memory Overrun! in MFC Pin
charlieg29-Oct-06 13:06
charlieg29-Oct-06 13:06 
AnswerRe: Memory Overrun! in MFC Pin
Mark Salsbery17-Oct-06 9:05
Mark Salsbery17-Oct-06 9:05 
GeneralRe: Memory Overrun! in MFC Pin
ThatsAlok18-Oct-06 4:59
ThatsAlok18-Oct-06 4:59 
GeneralRe: Memory Overrun! in MFC Pin
Mark Salsbery18-Oct-06 6:37
Mark Salsbery18-Oct-06 6:37 
GeneralRe: Memory Overrun! in MFC Pin
Mark Salsbery18-Oct-06 6:40
Mark Salsbery18-Oct-06 6:40 
GeneralRe: Memory Overrun! in MFC Pin
mostafa_pasha18-Oct-06 9:15
mostafa_pasha18-Oct-06 9:15 
GeneralRe: Memory Overrun! in MFC Pin
Mark Salsbery18-Oct-06 9:56
Mark Salsbery18-Oct-06 9:56 
GeneralRe: Memory Overrun! in MFC Pin
mostafa_pasha18-Oct-06 11:05
mostafa_pasha18-Oct-06 11:05 
excuse me for this fault,
i do not know when i ignore HTML tags , the messeage is correctConfused | :confused:
Netmfile.z = sizeCB * N - (sizeCB-1) * (N/2);
//double *smp2;
smp2 = new double [Netmfile.z];


for (i=0 ; i<Netmfile.z ; i++)
smp2[i]=0;



delete CBn;
delete CB1t;
delete Pitch;



//second
m=1;
i=0;
pichi = pitch;
while (i<p)
{
m=m+pichi[i];
if (m>N/2)
{
for ( j=p ; j>=i+1 ; j--)
pichi [ j ] = pichi [ j - 1 ] ;
pichi [ i ] = N/2;
pichi [ i + 1 ] = m - N/2;
m=0;
p++; //beacause of increase of Pitch length in each atage
}
i++;
}
return (p);




GeneralRe: Memory Overrun! in MFC Pin
David Crow19-Oct-06 4:47
David Crow19-Oct-06 4:47 
GeneralRe: Memory Overrun! in MFC Pin
mostafa_pasha19-Oct-06 8:26
mostafa_pasha19-Oct-06 8:26 
GeneralRe: Memory Overrun! in MFC Pin
David Crow19-Oct-06 8:47
David Crow19-Oct-06 8:47 
GeneralRe: Memory Overrun! in MFC Pin
ThatsAlok18-Oct-06 17:54
ThatsAlok18-Oct-06 17:54 
GeneralGDI leak in MFC MDI apps Pin
PJ Arends17-Oct-06 7:57
professionalPJ Arends17-Oct-06 7:57 
GeneralRe: GDI leak in MFC MDI apps Pin
David Crow17-Oct-06 8:42
David Crow17-Oct-06 8:42 
GeneralRe: GDI leak in MFC MDI apps Pin
James R. Twine17-Oct-06 8:49
James R. Twine17-Oct-06 8:49 
GeneralRe: GDI leak in MFC MDI apps Pin
PJ Arends17-Oct-06 9:31
professionalPJ Arends17-Oct-06 9:31 
GeneralRe: GDI leak in MFC MDI apps Pin
Rob Caldecott17-Oct-06 9:37
Rob Caldecott17-Oct-06 9:37 
GeneralRe: GDI leak in MFC MDI apps Pin
PJ Arends17-Oct-06 9:45
professionalPJ Arends17-Oct-06 9:45 
GeneralFIXED! Pin
PJ Arends17-Oct-06 12:25
professionalPJ Arends17-Oct-06 12:25 
GeneralRe: FIXED! Pin
Mark Salsbery17-Oct-06 13:37
Mark Salsbery17-Oct-06 13:37 
Questionhow to extract the system icons and add them to our CImageList object?? Pin
indra2017-Oct-06 5:20
indra2017-Oct-06 5:20 
QuestionRe: how to extract the system icons and add them to our CImageList object?? Pin
David Crow17-Oct-06 5:25
David Crow17-Oct-06 5:25 
AnswerRe: how to extract the system icons and add them to our CImageList object?? Pin
indra2017-Oct-06 5:46
indra2017-Oct-06 5:46 
QuestionRe: how to extract the system icons and add them to our CImageList object?? Pin
David Crow17-Oct-06 6:32
David Crow17-Oct-06 6:32 
AnswerRe: how to extract the system icons and add them to our CImageList object?? Pin
indra2017-Oct-06 22:44
indra2017-Oct-06 22:44 

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.