Click here to Skip to main content
15,914,071 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: type of file to open Pin
Shog917-Oct-02 12:35
sitebuilderShog917-Oct-02 12:35 
GeneralRe: type of file to open Pin
Steve L.17-Oct-02 12:41
Steve L.17-Oct-02 12:41 
GeneralShared Memory Pin
Todd Smith17-Oct-02 11:46
Todd Smith17-Oct-02 11:46 
GeneralRe: Shared Memory Pin
Joaquín M López Muñoz17-Oct-02 11:56
Joaquín M López Muñoz17-Oct-02 11:56 
GeneralRe: Shared Memory Pin
User 988517-Oct-02 12:03
User 988517-Oct-02 12:03 
GeneralRe: Shared Memory Pin
Todd Smith17-Oct-02 12:05
Todd Smith17-Oct-02 12:05 
GeneralRe: Shared Memory Pin
User 988517-Oct-02 12:37
User 988517-Oct-02 12:37 
GeneralRe: Shared Memory Pin
Paul M Watt17-Oct-02 12:38
mentorPaul M Watt17-Oct-02 12:38 
I believe that because the FileMapping object is a Kernel object, that the file mapping will continue to exist until all handles to it are released.

Here is an excerpt from the CreateFileMapping functions remarks section in MSDN:

To fully close a file mapping object, an application must unmap all mapped views of the file mapping object by calling UnmapViewOfFile, and close the file mapping object handle by calling CloseHandle. The order in which these functions are called does not matter. The call to UnmapViewOfFile is necessary because mapped views of a file mapping object maintain internal open handles to the object, and a file mapping object will not close until all open handles to it are closed.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: Shared Memory Pin
Daniel Lohmann19-Oct-02 2:02
Daniel Lohmann19-Oct-02 2:02 
GeneralUNICODE MFC libraries in VC6 Pin
Todd Smith17-Oct-02 11:39
Todd Smith17-Oct-02 11:39 
GeneralRe: UNICODE MFC libraries in VC6 Pin
Anders Molin17-Oct-02 12:07
professionalAnders Molin17-Oct-02 12:07 
GeneralRe: UNICODE MFC libraries in VC6 Pin
Michael Dunn17-Oct-02 15:08
sitebuilderMichael Dunn17-Oct-02 15:08 
QuestionIs this a Bug In Microsoft Code? Pin
perlmunger17-Oct-02 11:24
perlmunger17-Oct-02 11:24 
AnswerRe: Is this a Bug In Microsoft Code? Pin
Joaquín M López Muñoz17-Oct-02 11:36
Joaquín M López Muñoz17-Oct-02 11:36 
GeneralRe: Is this a Bug In Microsoft Code? Pin
perlmunger17-Oct-02 11:51
perlmunger17-Oct-02 11:51 
GeneralRe: Is this a Bug In Microsoft Code? Pin
Joaquín M López Muñoz17-Oct-02 12:00
Joaquín M López Muñoz17-Oct-02 12:00 
GeneralRe: Is this a Bug In Microsoft Code? Pin
perlmunger17-Oct-02 12:12
perlmunger17-Oct-02 12:12 
GeneralRe: Is this a Bug In Microsoft Code? Pin
Joaquín M López Muñoz17-Oct-02 12:18
Joaquín M López Muñoz17-Oct-02 12:18 
GeneralRe: Is this a Bug In Microsoft Code? Pin
perlmunger17-Oct-02 13:40
perlmunger17-Oct-02 13:40 
GeneralRe: Is this a Bug In Microsoft Code? Pin
Seefou17-Oct-02 11:53
Seefou17-Oct-02 11:53 
GeneralRe: Is this a Bug In Microsoft Code? Pin
perlmunger17-Oct-02 14:07
perlmunger17-Oct-02 14:07 
AnswerRe: Is this a Bug In Microsoft Code? Pin
perlmunger18-Oct-02 8:12
perlmunger18-Oct-02 8:12 
GeneralHandle double-click on an Edit box Pin
Karl17-Oct-02 10:55
Karl17-Oct-02 10:55 
GeneralRe: Handle double-click on an Edit box Pin
valikac17-Oct-02 12:43
valikac17-Oct-02 12:43 
GeneralPrinting contents of Dialog window Pin
AnanyasChintayantoyam17-Oct-02 9:46
sussAnanyasChintayantoyam17-Oct-02 9:46 

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.