Click here to Skip to main content
16,014,872 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Including MSHTML Pin
rrrado28-May-02 3:35
rrrado28-May-02 3:35 
GeneralDrawing rotated WMF Pin
27-May-02 20:57
suss27-May-02 20:57 
GeneralClass wont work unless global Pin
Mikel27-May-02 19:01
Mikel27-May-02 19:01 
GeneralRe: Class wont work unless global Pin
Joaquín M López Muñoz27-May-02 20:01
Joaquín M López Muñoz27-May-02 20:01 
GeneralRe: Class wont work unless global Pin
Michael P Butler27-May-02 23:25
Michael P Butler27-May-02 23:25 
Generalprocess, thread's memory question Pin
zecodela27-May-02 18:06
zecodela27-May-02 18:06 
GeneralRe: process, thread's memory question Pin
Michael Dunn27-May-02 18:29
sitebuilderMichael Dunn27-May-02 18:29 
GeneralRe: process, thread's memory question Pin
Alexandru Savescu27-May-02 21:58
Alexandru Savescu27-May-02 21:58 
You are getting the picture.

Processes have differnet address space, meaning a pointer cannot go out current process space. Even if you obtain an address of an object from a diffrent process, trying to access it will give you an access violation.

Threads share the same address space, but have different "stack space". This means that a global object can be accessed/modified by two threads at the same time so you must protect it with semaphores, critical sections etc. However if two threads are executing the same function at the same time the local variables declared in that function will be "different".

Best regards,
Alexandru Savescu
GeneralRe: process, thread's memory question Pin
zecodela27-May-02 23:23
zecodela27-May-02 23:23 
GeneralRe: process, thread's memory question Pin
zecodela27-May-02 23:23
zecodela27-May-02 23:23 
GeneralRe: process, thread's memory question Pin
Alexandru Savescu27-May-02 23:47
Alexandru Savescu27-May-02 23:47 
GeneralRe: process, thread's memory question Pin
zecodela28-May-02 3:12
zecodela28-May-02 3:12 
GeneralBest Way to Get Installed DLL Version Pin
John Clump27-May-02 17:53
John Clump27-May-02 17:53 
GeneralRe: Best Way to Get Installed DLL Version Pin
Alex Cramer27-May-02 18:24
Alex Cramer27-May-02 18:24 
Generalhelp with class project... Pin
C++ Virgin27-May-02 15:01
C++ Virgin27-May-02 15:01 
GeneralRe: help with class project... Pin
Christian Graus27-May-02 15:07
protectorChristian Graus27-May-02 15:07 
GeneralRe: help with class project... Pin
C++ Virgin27-May-02 16:35
C++ Virgin27-May-02 16:35 
GeneralRe: help with class project... Pin
Christian Graus27-May-02 16:48
protectorChristian Graus27-May-02 16:48 
GeneralRe: help with class project... Pin
C++ Virgin27-May-02 17:25
C++ Virgin27-May-02 17:25 
GeneralRe: help with class project... Pin
Nish Nishant27-May-02 17:53
sitebuilderNish Nishant27-May-02 17:53 
GeneralRe: help with class project... Pin
Michael P Butler27-May-02 22:01
Michael P Butler27-May-02 22:01 
GeneralRe: help with class project... Pin
Nish Nishant28-May-02 1:23
sitebuilderNish Nishant28-May-02 1:23 
GeneralRe: help with class project... Pin
Ed Gadziemski1-Jun-02 11:33
professionalEd Gadziemski1-Jun-02 11:33 
GeneralRe: help with class project... Pin
Nish Nishant1-Jun-02 15:05
sitebuilderNish Nishant1-Jun-02 15:05 
GeneralSaving the current file in a Visual Studio Addin Pin
Gilfrog27-May-02 14:36
Gilfrog27-May-02 14:36 

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.