Click here to Skip to main content
15,561,246 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: To construct a C++ code from a given Visual Basic String. Pin
CPallini1-Oct-09 3:01
mveCPallini1-Oct-09 3:01 
AnswerRe: To construct a C++ code from a given Visual Basic String. Pin
CPallini1-Oct-09 0:20
mveCPallini1-Oct-09 0:20 
Questionvery strange memory problem ....please help Pin
dharani30-Sep-09 23:38
dharani30-Sep-09 23:38 
AnswerRe: very strange memory problem ....please help Pin
Hans Dietrich1-Oct-09 0:12
mentorHans Dietrich1-Oct-09 0:12 
AnswerRe: very strange memory problem ....please help Pin
KarstenK1-Oct-09 0:19
mveKarstenK1-Oct-09 0:19 
GeneralRe: very strange memory problem ....please help Pin
dharani1-Oct-09 0:39
dharani1-Oct-09 0:39 
GeneralRe: very strange memory problem ....please help Pin
KarstenK1-Oct-09 1:33
mveKarstenK1-Oct-09 1:33 
AnswerRe: very strange memory problem ....please help Pin
TimothyPMoore1-Oct-09 3:38
TimothyPMoore1-Oct-09 3:38 
I would do a search and see if the implementation of malloc was modified between gcc library 2.4 to 2.6. My guess is that if the implementation of malloc changed, memory could be allocated differently using 2.6 over 2.4. You may have already had a memory bug previously using 2.4 but it did not manifest itself until the memory was allocated in some different way using the new library.

Apparently somewhere code is overwriting memory in your class corrupting the private contents of the strings or corrupting the internal datastructures of malloc itself. You need to watch the memory locations for the strings to narrow down when the contents of those strings become corrupted.

One clarification ... do the seg faults happen only when setting the string value or anytime you use the contents of the string ?
QuestionRe: very strange memory problem ....please help Pin
David Crow1-Oct-09 4:23
David Crow1-Oct-09 4:23 
QuestionExcluive low-level access to a disk Pin
mooromets_ua30-Sep-09 22:48
mooromets_ua30-Sep-09 22:48 
QuestionCreate Multipage Images Pin
Game-point30-Sep-09 21:37
Game-point30-Sep-09 21:37 
AnswerRe: Create Multipage Images Pin
Rajesh R Subramanian30-Sep-09 22:55
professionalRajesh R Subramanian30-Sep-09 22:55 
GeneralRe: Create Multipage Images Pin
Game-point1-Oct-09 1:09
Game-point1-Oct-09 1:09 
AnswerRe: Create Multipage Images Pin
CPallini30-Sep-09 23:27
mveCPallini30-Sep-09 23:27 
AnswerRe: Create Multipage Images Pin
Game-point30-Sep-09 23:46
Game-point30-Sep-09 23:46 
AnswerRe: Create Multipage Images Pin
Hamid_RT1-Oct-09 2:15
Hamid_RT1-Oct-09 2:15 
GeneralRe: Create Multipage Images Pin
Game-point1-Oct-09 2:49
Game-point1-Oct-09 2:49 
GeneralRe: Create Multipage Images Pin
Hamid_RT1-Oct-09 3:40
Hamid_RT1-Oct-09 3:40 
QuestionRecognize smart card reader type using winscard visual C++ 6.0 Pin
Eka Candra30-Sep-09 20:54
Eka Candra30-Sep-09 20:54 
QuestionRecognize smart card reader type using winscard visual C++ 6.0 Pin
Eka Candra30-Sep-09 20:52
Eka Candra30-Sep-09 20:52 
AnswerMessage Closed Pin
18-Feb-21 5:16
Nikolay Fomichev18-Feb-21 5:16 
GeneralRe: Recognize smart card reader type using winscard visual C++ 6.0 Pin
Richard Deeming18-Feb-21 5:30
mveRichard Deeming18-Feb-21 5:30 
QuestionProgram in c language Pin
anassamar30-Sep-09 20:45
anassamar30-Sep-09 20:45 
AnswerRe: Program in c language Pin
Code-o-mat30-Sep-09 21:33
Code-o-mat30-Sep-09 21:33 
QuestionRe: Program in c language Pin
David Crow1-Oct-09 4:31
David Crow1-Oct-09 4:31 

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.