Click here to Skip to main content
15,887,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTemplate question. Pin
WREY22-Oct-03 12:24
WREY22-Oct-03 12:24 
GeneralRe: Template question. Pin
Michael Dunn22-Oct-03 12:38
sitebuilderMichael Dunn22-Oct-03 12:38 
GeneralNeed to refresh property page controls Pin
ElizabethC22-Oct-03 12:04
ElizabethC22-Oct-03 12:04 
GeneralRe: Need to refresh property page controls Pin
David Crow27-Oct-03 8:11
David Crow27-Oct-03 8:11 
GeneralRe: Need to refresh property page controls Pin
ElizabethC27-Oct-03 8:28
ElizabethC27-Oct-03 8:28 
GeneralHTML Help in Chinese Pin
Wolfram Steinke22-Oct-03 11:48
Wolfram Steinke22-Oct-03 11:48 
Generalproblem with thread Pin
Deepak Samuel22-Oct-03 11:35
Deepak Samuel22-Oct-03 11:35 
GeneralRe: problem with thread Pin
Ryan_Roberts22-Oct-03 12:02
Ryan_Roberts22-Oct-03 12:02 
Pass the class that you wish the thread to access to the threadproc. If you make the threadproc a static member of your active class then you can access private members.

This kinda thing.

class Active
{
public:
Start()
{
ThreadProc(this);
}
private:
static int WINAPI ThreadProc(LPARAM lParam)
{
Active* impl = reinterpret_cast<Active*>(lParam);

while(true)
{
++impl->m_Member;
}
}

volitile int m_Member;
};

..gads, 2 edits Sigh | :sigh:

Ryan
GeneralSystem.SByte* is inaccessible... Pin
almogaver22-Oct-03 11:06
almogaver22-Oct-03 11:06 
QuestionArray of pointers on the heap? Pin
Rickard Andersson2022-Oct-03 9:07
Rickard Andersson2022-Oct-03 9:07 
AnswerRe: Array of pointers on the heap? Pin
David Crow22-Oct-03 9:22
David Crow22-Oct-03 9:22 
GeneralRe: Array of pointers on the heap? Pin
Rickard Andersson2022-Oct-03 9:26
Rickard Andersson2022-Oct-03 9:26 
GeneralRe: Array of pointers on the heap? Pin
Rickard Andersson2022-Oct-03 9:35
Rickard Andersson2022-Oct-03 9:35 
GeneralRe: Array of pointers on the heap? Pin
David Crow22-Oct-03 9:59
David Crow22-Oct-03 9:59 
GeneralRe: Array of pointers on the heap? Pin
Jeryth30-Oct-03 10:54
Jeryth30-Oct-03 10:54 
AnswerRe: Array of pointers on the heap? Pin
Nitron23-Oct-03 8:07
Nitron23-Oct-03 8:07 
GeneralSubclassing a CListCtrl derived class in CDialog Pin
b_girl22-Oct-03 8:56
b_girl22-Oct-03 8:56 
GeneralRe: Subclassing a CListCtrl derived class in CDialog Pin
Atlantys22-Oct-03 11:19
Atlantys22-Oct-03 11:19 
GeneralRe: Subclassing a CListCtrl derived class in CDialog Pin
b_girl23-Oct-03 3:20
b_girl23-Oct-03 3:20 
Generalanother question about command.com Pin
includeh1022-Oct-03 8:23
includeh1022-Oct-03 8:23 
Generalc++ and c# in .NET Pin
HudsonKane22-Oct-03 7:56
HudsonKane22-Oct-03 7:56 
GeneralRe: c++ and c# in .NET Pin
Ryan_Roberts22-Oct-03 11:55
Ryan_Roberts22-Oct-03 11:55 
GeneralRe: c++ and c# in .NET Pin
HudsonKane23-Oct-03 10:09
HudsonKane23-Oct-03 10:09 
GeneralUpdating a list box w/ progress data Pin
jimNLX22-Oct-03 7:30
jimNLX22-Oct-03 7:30 
GeneralRe: Updating a list box w/ progress data Pin
David Crow22-Oct-03 7:43
David Crow22-Oct-03 7:43 

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.