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

C / C++ / MFC

 
GeneralRe: malloc() question Pin
Philip Patrick1-Jan-02 19:23
professionalPhilip Patrick1-Jan-02 19:23 
Generalremove popup menu arrow Pin
1-Jan-02 15:35
suss1-Jan-02 15:35 
GeneralProblem with Multithreads Pin
Mustafa Demirhan1-Jan-02 6:06
Mustafa Demirhan1-Jan-02 6:06 
GeneralRe: Problem with Multithreads Pin
Mustafa Demirhan1-Jan-02 6:12
Mustafa Demirhan1-Jan-02 6:12 
GeneralRe: Problem with Multithreads Pin
1-Jan-02 6:32
suss1-Jan-02 6:32 
GeneralRe: Problem with Multithreads Pin
1-Jan-02 6:56
suss1-Jan-02 6:56 
GeneralRe: Problem with Multithreads Pin
Todd Smith1-Jan-02 7:35
Todd Smith1-Jan-02 7:35 
GeneralRe: Problem with Multithreads Pin
Mustafa Demirhan1-Jan-02 8:59
Mustafa Demirhan1-Jan-02 8:59 
Sorry I forgot to show the definition of m_sSharedVarNames. m_sSharedVarNames is defined in the CPP file as a global variable.
CString m_sSharedVarNames [MAX_VARS] =	{"<var1>", "<var2>", "<var3>", "<var4>", "<var5>",
	"<var6>", "<var7>", "<var8>", "<var9>", "<var10>",
	"<var11>","<var12>","<var13>","<var14>","<var15>",
	"<var16>","<var17>","<var18>","<var19>","<var20>",
	"<var21>","<var22>","<var23>","<var24>","<var25>"};


The problem occurs when I try to access the member variables of CTaskManager. Accessing sSharedVarNames (which is not a member of the class) is OK, but accessing sSharedVars (which is a public member of the class) is not. I dont know why this occurs.

Also, sSharedVars are initialized in the constructor.

Thanks for your helps. I am looking forward to hearing your suggestions. Confused | :confused: Confused | :confused: Confused | :confused:

Kind regards
Mustafa Demirhan

http://www.macroangel.com

Sonork ID 100.9935:zoltrix
GeneralRe: Problem with Multithreads Pin
Michael Dunn1-Jan-02 9:30
sitebuilderMichael Dunn1-Jan-02 9:30 
GeneralRe: Problem with Multithreads Pin
Mustafa Demirhan2-Jan-02 0:33
Mustafa Demirhan2-Jan-02 0:33 
GeneralCompatibility Question Pin
1-Jan-02 3:37
suss1-Jan-02 3:37 
GeneralRe: Compatibility Question Pin
Philip Patrick1-Jan-02 3:50
professionalPhilip Patrick1-Jan-02 3:50 
GeneralHi, Philip ,look here... Pin
1-Jan-02 5:42
suss1-Jan-02 5:42 
GeneralRe: Hi, Philip ,look here... Pin
Philip Patrick1-Jan-02 6:02
professionalPhilip Patrick1-Jan-02 6:02 
GeneralWM_ Pin
The_Server1-Jan-02 2:41
The_Server1-Jan-02 2:41 
GeneralRe: WM_ Pin
Philip Patrick1-Jan-02 2:55
professionalPhilip Patrick1-Jan-02 2:55 
GeneralRe: WM_ Pin
The_Server1-Jan-02 3:17
The_Server1-Jan-02 3:17 
GeneralRe: WM_ Pin
Philip Patrick1-Jan-02 3:41
professionalPhilip Patrick1-Jan-02 3:41 
GeneralRe: WM_ Pin
1-Jan-02 3:25
suss1-Jan-02 3:25 
GeneralRe: WM_ Pin
Philip Patrick1-Jan-02 3:43
professionalPhilip Patrick1-Jan-02 3:43 
GeneralRe: WM_ Pin
Jörgen Sigvardsson1-Jan-02 4:07
Jörgen Sigvardsson1-Jan-02 4:07 
GeneralRe: WM_ Pin
Philip Patrick1-Jan-02 4:22
professionalPhilip Patrick1-Jan-02 4:22 
GeneralHi, Philip Look Here... Pin
1-Jan-02 6:11
suss1-Jan-02 6:11 
GeneralTotally agree... :) Pin
Philip Patrick1-Jan-02 6:16
professionalPhilip Patrick1-Jan-02 6:16 
GeneralCustom User Interfaces in VC++ Pin
31-Dec-01 23:56
suss31-Dec-01 23:56 

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.