Click here to Skip to main content
15,798,200 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionException handling wrapper over MSXML parser Pin
sma123#26-Nov-13 15:16
sma123#26-Nov-13 15:16 
AnswerRe: Exception handling wrapper over MSXML parser Pin
Richard MacCutchan26-Nov-13 23:49
mveRichard MacCutchan26-Nov-13 23:49 
Questionuse of beginthreadex() Pin
bkelly1325-Nov-13 17:24
bkelly1325-Nov-13 17:24 
AnswerRe: use of beginthreadex() Pin
Richard MacCutchan25-Nov-13 23:44
mveRichard MacCutchan25-Nov-13 23:44 
GeneralRe: use of beginthreadex() Pin
bkelly1326-Nov-13 9:05
bkelly1326-Nov-13 9:05 
GeneralRe: use of beginthreadex() Pin
Richard MacCutchan26-Nov-13 23:46
mveRichard MacCutchan26-Nov-13 23:46 
GeneralRe: use of beginthreadex() Pin
bkelly1327-Nov-13 12:45
bkelly1327-Nov-13 12:45 
GeneralRe: use of beginthreadex() Pin
Richard MacCutchan27-Nov-13 23:03
mveRichard MacCutchan27-Nov-13 23:03 
As you say, CreateThread would not create an instance of the class. This function creates a new process which runs in parallel with the currently running code, starting at the address given. Within the new process you can create new objects of a class and run their methods, while other objects are actioned in the main thread. As I said before, there is no communication between the two processes except by passing information through shared memory. You may find it easier to run your separate thread as pure procedural code rather than as classes. But that will, of course, depend on what the code is actually doing.
Veni, vidi, abiit domum

GeneralRe: use of beginthreadex() Pin
bkelly1328-Nov-13 11:08
bkelly1328-Nov-13 11:08 
GeneralRe: use of beginthreadex() Pin
Albert Holguin11-Dec-13 6:01
professionalAlbert Holguin11-Dec-13 6:01 
Generaleasy for classes Pin
bkelly1311-Dec-13 13:27
bkelly1311-Dec-13 13:27 
GeneralRe: easy for classes Pin
Albert Holguin12-Dec-13 5:09
professionalAlbert Holguin12-Dec-13 5:09 
GeneralRe: easy for classes Pin
bkelly1312-Dec-13 13:53
bkelly1312-Dec-13 13:53 
AnswerRe: easy for classes Pin
Albert Holguin12-Dec-13 14:10
professionalAlbert Holguin12-Dec-13 14:10 
QuestionI want to showing "+" allways in WTL CTreeViewCtrl Pin
cheng84977cc25-Nov-13 6:40
cheng84977cc25-Nov-13 6:40 
AnswerRe: I want to showing "+" allways in WTL CTreeViewCtrl Pin
Wayne.CN13-Jan-14 18:51
Wayne.CN13-Jan-14 18:51 
Question[How to Convert data in textBox to .Txt file in Windows Form C++] Pin
Member 1041578020-Nov-13 20:53
Member 1041578020-Nov-13 20:53 
QuestionRe: [How to Convert data in textBox to .Txt file in Windows Form C++] Pin
Richard MacCutchan20-Nov-13 23:21
mveRichard MacCutchan20-Nov-13 23:21 
Questionstl thread safe Pin
G.aius.CodeCreator18-Nov-13 16:38
G.aius.CodeCreator18-Nov-13 16:38 
Questionwaiting on events for socket activity Pin
bkelly1318-Nov-13 15:05
bkelly1318-Nov-13 15:05 
AnswerRe: waiting on events for socket activity Pin
Orjan Westin20-Nov-13 0:03
professionalOrjan Westin20-Nov-13 0:03 
GeneralRe: waiting on events for socket activity Pin
bkelly1325-Nov-13 17:08
bkelly1325-Nov-13 17:08 
GeneralRe: waiting on events for socket activity Pin
Orjan Westin26-Nov-13 0:01
professionalOrjan Westin26-Nov-13 0:01 
GeneralRe: waiting on events for socket activity Pin
bkelly1326-Nov-13 9:07
bkelly1326-Nov-13 9:07 
QuestionWhat is the window argument in WSAAsyncSelect(...) Pin
bkelly1310-Nov-13 16:59
bkelly1310-Nov-13 16:59 

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.