Error 00001. 0x350010 (Thread 0x02B0):
Resource type mismatch: a(n) object was expected.
delete(0x00B833E0)
| 002b.cpp line 178:
| delete [] name;
| #else
|> delete name;
| #endif
| }
Call Tree:
0x00405D95(=002b.exe:0x01:004D95) 002b.cpp#178
0x00406053(=002b.exe:0x01:005053) 002b.cpp#213
0x004058E3(=002b.exe:0x01:0048E3) 002b.cpp#239
0x004019DC(=002b.exe:0x01:0009DC) 002b.cpp#306
0x0042611A(=002b.exe:0x01:02511A)
The object array (0x00B833E0) [size: 6 bytes] was created with new[]
| 002b.cpp line 171:
| public:
| Book(char const *p) {
|> this->name = new char [::strlen(p) + 1];
| strcpy(this->name, p);
| }
Call Tree:
0x00401C5A(=002b.exe:0x01:000C5A) 002b.cpp#171
0x00401869(=002b.exe:0x01:000869) 002b.cpp#296
0x0042611A(=002b.exe:0x01:02511A)
------------------------------------------
Error 00002. 0x350010 (r) (Thread 0x02B0):
Resource type mismatch: a(n) object was expected.
delete(0x00B83410)
| 002b.cpp line 178:
| delete [] name;
| #else
|> delete name;
| #endif
| }
Call Tree:
0x00405D95(=002b.exe:0x01:004D95) 002b.cpp#178
0x00406053(=002b.exe:0x01:005053) 002b.cpp#213
0x00406095(=002b.exe:0x01:005095) 002b.cpp#215
0x004058E3(=002b.exe:0x01:0048E3) 002b.cpp#239
0x004019DC(=002b.exe:0x01:0009DC) 002b.cpp#306
0x0042611A(=002b.exe:0x01:02511A)
The object array (0x00B83410) [size: 6 bytes] was created with new[]
| 002b.cpp line 171:
| public:
| Book(char const *p) {
|> this->name = new char [::strlen(p) + 1];
| strcpy(this->name, p);
| }
Call Tree:
0x00401C5A(=002b.exe:0x01:000C5A) 002b.cpp#171
0x004018A6(=002b.exe:0x01:0008A6) 002b.cpp#297
0x0042611A(=002b.exe:0x01:02511A)
------------------------------------------
Error 00003. 0x350010 (r) (Thread 0x02B0):
Resource type mismatch: a(n) object was expected.
delete(0x00B83440)
| 002b.cpp line 178:
| delete [] name;
| #else
|> delete name;
| #endif
| }
Call Tree:
0x00405D95(=002b.exe:0x01:004D95) 002b.cpp#178
0x00406053(=002b.exe:0x01:005053) 002b.cpp#213
0x00406095(=002b.exe:0x01:005095) 002b.cpp#215
0x00406095(=002b.exe:0x01:005095) 002b.cpp#215
0x004058E3(=002b.exe:0x01:0048E3) 002b.cpp#239
0x004019DC(=002b.exe:0x01:0009DC) 002b.cpp#306
0x0042611A(=002b.exe:0x01:02511A)
The object array (0x00B83440) [size: 6 bytes] was created with new[]
| 002b.cpp line 171:
| public:
| Book(char const *p) {
|> this->name = new char [::strlen(p) + 1];
| strcpy(this->name, p);
| }
Call Tree:
0x00401C5A(=002b.exe:0x01:000C5A) 002b.cpp#171
0x004018E3(=002b.exe:0x01:0008E3) 002b.cpp#298
0x0042611A(=002b.exe:0x01:02511A)
------------------------------------------
Error 00004. 0x350010 (r) (Thread 0x02B0):
Resource type mismatch: a(n) object was expected.
delete(0x00B83470)
| 002b.cpp line 178:
| delete [] name;
| #else
|> delete name;
| #endif
| }
Call Tree:
0x00405D95(=002b.exe:0x01:004D95) 002b.cpp#178
0x00406053(=002b.exe:0x01:005053) 002b.cpp#213
0x00406095(=002b.exe:0x01:005095) 002b.cpp#215
0x00406095(=002b.exe:0x01:005095) 002b.cpp#215
0x00406095(=002b.exe:0x01:005095) 002b.cpp#215
0x004058E3(=002b.exe:0x01:0048E3) 002b.cpp#239
0x004019DC(=002b.exe:0x01:0009DC) 002b.cpp#306
0x0042611A(=002b.exe:0x01:02511A)
The object array (0x00B83470) [size: 6 bytes] was created with new[]
| 002b.cpp line 171:
| public:
| Book(char const *p) {
|> this->name = new char [::strlen(p) + 1];
| strcpy(this->name, p);
| }
Call Tree:
0x00401C5A(=002b.exe:0x01:000C5A) 002b.cpp#171
0x00401920(=002b.exe:0x01:000920) 002b.cpp#299
0x0042611A(=002b.exe:0x01:02511A)
------------------------------------------
Functions called:
fprintf (1 times)
delete (14 times)
fflush (10 times)
fputc (25 times)
strcpy (4 times)
new[] (4 times)
printf (20 times)
free (39 times)
_lsetlocale (6 times)
new (19 times)
calloc (9 times)
strlen (113 times)
realloc (1 times)
strdup (5 times)
malloc (24 times)
memcpy (11 times)
Resource types used:
object array (4 allocs, 4 max)
object (19 allocs, 19 max)
memory block (39 allocs, 29 max)
Modules used:
00400000 07/04/2011 04:19:08 C:\usr\home\java\yuki1\002b.exe
==========================================