Click here to Skip to main content
15,898,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Heap error on std::string deletion from local function Pin
Fred Ackers24-Dec-11 7:16
Fred Ackers24-Dec-11 7:16 
GeneralRe: Heap error on std::string deletion from local function Pin
Erudite_Eric26-Dec-11 0:57
Erudite_Eric26-Dec-11 0:57 
AnswerRe: Heap error on std::string deletion from local function Pin
Mikhail Semenov23-Jan-12 3:50
Mikhail Semenov23-Jan-12 3:50 
Questionsorting list using hexadecimal values Pin
VCProgrammer21-Dec-11 21:20
VCProgrammer21-Dec-11 21:20 
AnswerRe: sorting list using hexadecimal values Pin
Richard MacCutchan21-Dec-11 22:00
mveRichard MacCutchan21-Dec-11 22:00 
GeneralRe: sorting list using hexadecimal values Pin
Mohibur Rashid21-Dec-11 22:26
professionalMohibur Rashid21-Dec-11 22:26 
AnswerRe: sorting list using hexadecimal values Pin
CPallini21-Dec-11 22:50
mveCPallini21-Dec-11 22:50 
Questioncrash in memory heap allocation - windows 7 - Unicode project Pin
zon_cpp21-Dec-11 21:04
zon_cpp21-Dec-11 21:04 
Hi,
what is difference between windows 7 and windows 2003 sever in memory heap allocation?

i have a project in visual studio 2008 C++ with using Unicode for character setting.
my project run in 2003 sever without any problem. but when i run it in windows 7, my project is breaked on a "memory allocation" line in code, like:
int i_size = 50;
wchar_t* wch = new wchar_t[i_size];


with this error message:
this maybe due to a corruption of the heap, which indicate a bug in my.exe or any of the Dlls it has loaded.

please help me.
Zo.Naderi-Iran

AnswerRe: crash in memory heap allocation - windows 7 - Unicode project Pin
Richard MacCutchan21-Dec-11 22:05
mveRichard MacCutchan21-Dec-11 22:05 
GeneralRe: crash in memory heap allocation - windows 7 - Unicode project Pin
zon_cpp21-Dec-11 22:08
zon_cpp21-Dec-11 22:08 
GeneralRe: crash in memory heap allocation - windows 7 - Unicode project Pin
Mohibur Rashid21-Dec-11 22:31
professionalMohibur Rashid21-Dec-11 22:31 
GeneralRe: crash in memory heap allocation - windows 7 - Unicode project Pin
zon_cpp21-Dec-11 22:50
zon_cpp21-Dec-11 22:50 
GeneralRe: crash in memory heap allocation - windows 7 - Unicode project Pin
Richard MacCutchan22-Dec-11 1:00
mveRichard MacCutchan22-Dec-11 1:00 
GeneralRe: crash in memory heap allocation - windows 7 - Unicode project Pin
Richard MacCutchan21-Dec-11 22:51
mveRichard MacCutchan21-Dec-11 22:51 
AnswerRe: crash in memory heap allocation - windows 7 - Unicode project Pin
Erudite_Eric22-Dec-11 0:14
Erudite_Eric22-Dec-11 0:14 
AnswerRe: crash in memory heap allocation - windows 7 - Unicode project Pin
Chuck O'Toole22-Dec-11 4:26
Chuck O'Toole22-Dec-11 4:26 
AnswerRe: crash in memory heap allocation - windows 7 - Unicode project Pin
Albert Holguin22-Dec-11 5:21
professionalAlbert Holguin22-Dec-11 5:21 
Questionabout DLL dependencies Pin
ryan218921-Dec-11 5:37
ryan218921-Dec-11 5:37 
AnswerRe: about DLL dependencies Pin
Richard Andrew x6422-Dec-11 10:10
professionalRichard Andrew x6422-Dec-11 10:10 
AnswerRe: about DLL dependencies Pin
Lactoferrin22-Dec-11 21:14
Lactoferrin22-Dec-11 21:14 
Questioncalling a function multple times, clears previous values Pin
jkirkerx20-Dec-11 17:14
professionaljkirkerx20-Dec-11 17:14 
AnswerRe: calling a function multple times, clears previous values Pin
Richard MacCutchan20-Dec-11 21:46
mveRichard MacCutchan20-Dec-11 21:46 
GeneralRe: calling a function multple times, clears previous values Pin
jkirkerx21-Dec-11 6:16
professionaljkirkerx21-Dec-11 6:16 
QuestionRe: calling a function multple times, clears previous values Pin
David Crow21-Dec-11 2:38
David Crow21-Dec-11 2:38 
AnswerRe: calling a function multple times, clears previous values Pin
jkirkerx21-Dec-11 6:23
professionaljkirkerx21-Dec-11 6:23 

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.