Click here to Skip to main content
15,907,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDownloading file from http Pin
deeps_cute30-Apr-07 3:06
deeps_cute30-Apr-07 3:06 
AnswerRe: Downloading file from http Pin
kakan30-Apr-07 3:25
professionalkakan30-Apr-07 3:25 
AnswerRe: Downloading file from http Pin
near2world30-Apr-07 3:29
near2world30-Apr-07 3:29 
GeneralRe: Downloading file from http Pin
deeps_cute30-Apr-07 3:33
deeps_cute30-Apr-07 3:33 
AnswerRe: Downloading file from http Pin
Ravi Bhavnani30-Apr-07 3:37
professionalRavi Bhavnani30-Apr-07 3:37 
GeneralRe: Downloading file from http Pin
near2world1-May-07 0:26
near2world1-May-07 0:26 
QuestionAPIs to get the deive information Pin
sheela Rajaram30-Apr-07 3:05
sheela Rajaram30-Apr-07 3:05 
QuestionStrange Problems with Memory- and Object-Access Pin
J. Holzer30-Apr-07 2:39
J. Holzer30-Apr-07 2:39 
Hello!

I have a major problem with my MFC-application:
My software (MFC, VS2005) experiences since some minor changes some weird crashes. The stragest thing is, that most crashes are
connected to one class, that keeps my configuration. But i don´t see anything, that might cause memory-leak or things like this.

Here is what happens:
- When assigning a config-object to another the programm crashes with "lock"
I did a workaroung for this by transfering this object by reference, so there is only the "master-copy" of the object, that is only linked to the other objects using the data inside this object.
- "Visual Leak Detector" delivers no memory-leak, but of course only if the app doesn´t crash
- when accessing an funtion from an DLL (C-Code) i get a access-violation
- an older (befor the changes) version is running perfectly
- when compiling as "release" i get different crashes than with "debug"
- when copying int-values from the config-object to an int i get 2^16-times the value (16bit left-shift of the value), e.g. 122 (1111010) becomes 7995392 (1111010 00000000 00000000)

What i guess is, that there´s something wrong with memory-management inside my app. But i have no idea where it could be!
Does anyone have any ideas how to find this problem?

Thanks a lot for helping!

J.
AnswerRe: Strange Problems with Memory- and Object-Access Pin
kakan30-Apr-07 2:49
professionalkakan30-Apr-07 2:49 
GeneralRe: Strange Problems with Memory- and Object-Access Pin
J. Holzer30-Apr-07 2:51
J. Holzer30-Apr-07 2:51 
GeneralRe: Strange Problems with Memory- and Object-Access Pin
kakan30-Apr-07 2:55
professionalkakan30-Apr-07 2:55 
GeneralRe: Strange Problems with Memory- and Object-Access Pin
J. Holzer30-Apr-07 3:39
J. Holzer30-Apr-07 3:39 
GeneralRe: Strange Problems with Memory- and Object-Access Pin
kakan30-Apr-07 3:52
professionalkakan30-Apr-07 3:52 
QuestionIf particular machine is active or not on a LAN Pin
Mushtaque Nizamani30-Apr-07 2:13
Mushtaque Nizamani30-Apr-07 2:13 
AnswerRe: If particular machine is active or not on a LAN Pin
kakan30-Apr-07 2:29
professionalkakan30-Apr-07 2:29 
AnswerRe: If particular machine is active or not on a LAN Pin
David Crow30-Apr-07 2:54
David Crow30-Apr-07 2:54 
GeneralRe: If particular machine is active or not on a LAN Pin
Mushtaque Nizamani30-Apr-07 2:57
Mushtaque Nizamani30-Apr-07 2:57 
QuestionRe: If particular machine is active or not on a LAN Pin
David Crow30-Apr-07 3:00
David Crow30-Apr-07 3:00 
AnswerRe: If particular machine is active or not on a LAN Pin
Mushtaque Nizamani30-Apr-07 3:20
Mushtaque Nizamani30-Apr-07 3:20 
Question[Message Deleted] Pin
elissa100130-Apr-07 1:05
elissa100130-Apr-07 1:05 
AnswerRe: how to find the minimum cost path in a matrix Pin
Venkata Rama Subbarao30-Apr-07 1:11
Venkata Rama Subbarao30-Apr-07 1:11 
AnswerRe: how to find the minimum cost path in a matrix Pin
David Crow30-Apr-07 2:57
David Crow30-Apr-07 2:57 
QuestionDirect3D Dlg Pin
NunoSantos30-Apr-07 1:03
NunoSantos30-Apr-07 1:03 
AnswerRe: Direct3D Dlg Pin
Sauce!30-Apr-07 2:24
Sauce!30-Apr-07 2:24 
GeneralRe: Direct3D Dlg Pin
NunoSantos2-May-07 0:31
NunoSantos2-May-07 0: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.