Re: StrCopy/StrCat with printf causes bus error

2000-10-29 Thread Aaron Ardiri
> > you maybe corrupting the stack somewhere, and, as a result.. corrupting > > the "program counter".. and wola.. try storing your string in a resource > > instead of as a "local" object in the application.. > > > > you are messing with too much memory, and it just cannot handle it. > >

Re: StrCopy/StrCat with printf causes bus error

2000-10-29 Thread Stephen A Tang
Aaron Ardiri wrote: > > maybe the "string" you are copying is barfing the stack somewhere? > > 'i' = 105 = 0x69 > > you maybe corrupting the stack somewhere, and, as a result.. corrupting > the "program counter".. and wola.. try storing your string in a resource > instead of as a "loc

Re: StrCopy/StrCat with printf causes bus error

2000-10-29 Thread Aaron Ardiri
> It seems that when I create a large string with StrCopy and StrCat, I > cannot print that string without causing a bus error or a program > counter error. The program counter error looks like: > > "QTest" (unknown version) is attempting to change the emulated > program counter to 0x69696969

RE: StrCopy/StrCat with printf causes bus error

2000-10-29 Thread Scott Johnson (Bellevue)
> From: Stephen A Tang [mailto:[EMAIL PROTECTED]] > "QTest" (unknown version) is attempting to change the emulated > program counter to 0x69696969. That error almost always means the stack got trashed, such as by a buffer overrun bug. In this case, note that 0x69696969 equals ''. A clue?