Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: bitmap or icon ?? Pin
ohadp9-Sep-03 3:18
ohadp9-Sep-03 3:18 
GeneralShow/Hide document's frame Pin
Neptunex9-Sep-03 0:47
Neptunex9-Sep-03 0:47 
GeneralCD ROM burning libraries Pin
Vladimir Georgiev9-Sep-03 0:38
Vladimir Georgiev9-Sep-03 0:38 
GeneralRe: CD ROM burning libraries Pin
Miszou9-Sep-03 6:38
Miszou9-Sep-03 6:38 
GeneralRe: CD ROM burning libraries Pin
Scozturk9-Sep-03 8:06
professionalScozturk9-Sep-03 8:06 
QuestionHow to debug DB2-C Stored procedures sitting on Z/Os from VC++ Editor Pin
Sivasankar A9-Sep-03 0:00
Sivasankar A9-Sep-03 0:00 
AnswerRe: How to debug DB2-C Stored procedures sitting on Z/Os from VC++ Editor Pin
Mike Dimmick9-Sep-03 2:03
Mike Dimmick9-Sep-03 2:03 
GeneralRun-Time Check Failure #2 - Stack around the variable name 'pbuff' was corrupted. Pin
si_698-Sep-03 23:56
si_698-Sep-03 23:56 
Hi All

im getting this error when i execute the following piece of code
Run-Time Check Failure #2 - Stack around the variable name 'pbuff' was corrupted.

does ne1 know whats wrong with my code, im pulling my hair out here Frown | :-(

thanks

si

CString vChr;
TCHAR pbuff[32];
CString Out;

int num=0;
int nOffset=0;
int nRead;

//read in the 1st 32 bytes
do
{
for (int f=0; f<=32; f++)
pbuff[f]=NULL;
sName="";
nOffset+=32;
nRead = SimMem.Read(pbuff,32);

int nLen=0;


int a = (int)pbuff[11]+128;
TCHAR ch = (char)a;

for (f=0; f<10; f++){
sName += pbuff[f];
}


}
GeneralRe: Run-Time Check Failure #2 - Stack around the variable name 'pbuff' was corrupted. Pin
jhwurmbach9-Sep-03 0:24
jhwurmbach9-Sep-03 0:24 
GeneralRe: Run-Time Check Failure #2 - Stack around the variable name 'pbuff' was corrupted. Pin
Ted Ferenc9-Sep-03 0:43
Ted Ferenc9-Sep-03 0:43 
GeneralRe: Run-Time Check Failure #2 - Stack around the variable name 'pbuff' was corrupted. Pin
Steve Thresher9-Sep-03 6:10
Steve Thresher9-Sep-03 6:10 
Generalstrange IDM_PRINT Pin
Member 4509908-Sep-03 22:31
Member 4509908-Sep-03 22:31 
GeneralRe: strange IDM_PRINT Pin
xltread30-Aug-10 13:05
xltread30-Aug-10 13:05 
GeneralMemory Management Pin
Dangleberry8-Sep-03 22:18
sussDangleberry8-Sep-03 22:18 
GeneralRe: Memory Management Pin
Andrew Walker9-Sep-03 0:04
Andrew Walker9-Sep-03 0:04 
GeneralRe: Memory Management Pin
Johnny ²9-Sep-03 1:07
Johnny ²9-Sep-03 1:07 
GeneralRe: Memory Management Pin
Dangleberry9-Sep-03 2:13
sussDangleberry9-Sep-03 2:13 
QuestionHow to round a double value Pin
King_of_Queens8-Sep-03 22:13
King_of_Queens8-Sep-03 22:13 
AnswerRe: How to round a double value Pin
Dangleberry8-Sep-03 22:34
sussDangleberry8-Sep-03 22:34 
GeneralRe: How to round a double value Pin
King_of_Queens8-Sep-03 22:55
King_of_Queens8-Sep-03 22:55 
GeneralRe: How to round a double value Pin
Dangleberry8-Sep-03 23:14
sussDangleberry8-Sep-03 23:14 
GeneralRe: How to round a double value Pin
vcplusplus9-Sep-03 1:58
vcplusplus9-Sep-03 1:58 
GeneralRe: How to round a double value Pin
Dangleberry9-Sep-03 2:50
sussDangleberry9-Sep-03 2:50 
GeneralRe: How to round a double value Pin
vcplusplus9-Sep-03 3:20
vcplusplus9-Sep-03 3:20 
GeneralRe: How to round a double value Pin
QuiJohn9-Sep-03 3:20
QuiJohn9-Sep-03 3:20 

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.