Click here to Skip to main content
15,896,290 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDisabling CROSS button on dialog Pin
Shailesh Halankar28-Jul-05 21:14
sussShailesh Halankar28-Jul-05 21:14 
GeneralRe: Disabling CROSS button on dialog Pin
Stlan28-Jul-05 21:19
Stlan28-Jul-05 21:19 
GeneralRe: Disabling CROSS button on dialog Pin
ThatsAlok30-Jul-05 4:26
ThatsAlok30-Jul-05 4:26 
GeneralRe: Disabling CROSS button on dialog Pin
Stlan31-Jul-05 19:33
Stlan31-Jul-05 19:33 
GeneralWho can help me(resize a bitmap) Pin
Abd.Eskandari28-Jul-05 20:35
Abd.Eskandari28-Jul-05 20:35 
GeneralRe: Who can help me(resize a bitmap) Pin
Halawlaws28-Jul-05 20:42
Halawlaws28-Jul-05 20:42 
GeneralRe: Who can help me(resize a bitmap) Pin
Russell'29-Jul-05 0:06
Russell'29-Jul-05 0:06 
GeneralMapping views of a MMF Pin
Bob Stanneveld28-Jul-05 20:02
Bob Stanneveld28-Jul-05 20:02 
Hello,

I'm experiancing some trouble with an MMF. I've created a class that manages one MMF and one view of that file. I've also created another class that manages some cache using the MMF class.

The MMF class has no problems of its own that I'm aware of, but the caching class has a problem when a new view has to be created. After I cross the view boundraries (and map a new view), one pointer in the heap becomes invalid. The data it holds is still the same, but operator delete[] asserts with an invalid heap pointer exception.

I must also note that the base address of the view is almost the same as the variable. The base address = 0x01b40000. The address of the variable is: 0x01c0e988 and the size is 72 bytes. To me it seems that the variable is not in the view, but I don't know why my pointer is corrupted.

After the initial write I perform some validation checks: IsBadReadPointer() to be precise and it succeeds.

Did anybody experiance something like this before? Anybody has any idea what might be the problem?

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
GeneralSolved. Pin
Bob Stanneveld28-Jul-05 20:46
Bob Stanneveld28-Jul-05 20:46 
Generalreading data from a data file Pin
a_david12328-Jul-05 19:34
a_david12328-Jul-05 19:34 
GeneralRe: reading data from a data file Pin
Christian Graus28-Jul-05 19:50
protectorChristian Graus28-Jul-05 19:50 
GeneralRe: reading data from a data file Pin
David Crow29-Jul-05 6:00
David Crow29-Jul-05 6:00 
GeneralRe: reading data from a data file Pin
knapak29-Jul-05 7:27
knapak29-Jul-05 7:27 
GeneralRe: reading data from a data file Pin
a_david1231-Aug-05 18:00
a_david1231-Aug-05 18:00 
Generaltroubles on using scroll bar in frame Pin
firebolt7728-Jul-05 16:39
firebolt7728-Jul-05 16:39 
GeneralRe: troubles on using scroll bar in frame Pin
Christian Graus28-Jul-05 17:34
protectorChristian Graus28-Jul-05 17:34 
GeneralRe: troubles on using scroll bar in frame Pin
firebolt7728-Jul-05 18:14
firebolt7728-Jul-05 18:14 
GeneralRe: troubles on using scroll bar in frame Pin
Christian Graus28-Jul-05 18:23
protectorChristian Graus28-Jul-05 18:23 
GeneralRe: troubles on using scroll bar in frame Pin
firebolt7728-Jul-05 19:52
firebolt7728-Jul-05 19:52 
GeneralRe: troubles on using scroll bar in frame Pin
Christian Graus28-Jul-05 19:54
protectorChristian Graus28-Jul-05 19:54 
GeneralRe: troubles on using scroll bar in frame Pin
firebolt7728-Jul-05 20:06
firebolt7728-Jul-05 20:06 
GeneralRe: troubles on using scroll bar in frame Pin
Christian Graus31-Jul-05 12:59
protectorChristian Graus31-Jul-05 12:59 
GeneralRe: troubles on using scroll bar in frame Pin
firebolt7731-Jul-05 15:19
firebolt7731-Jul-05 15:19 
GeneralRe: troubles on using scroll bar in frame Pin
Christian Graus31-Jul-05 15:58
protectorChristian Graus31-Jul-05 15:58 
GeneralRe: troubles on using scroll bar in frame Pin
firebolt7731-Jul-05 16:16
firebolt7731-Jul-05 16:16 

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.