Click here to Skip to main content
14,332,804 members

ATL / WTL / STL

 
AnswerRe: Exception handling wrapper over MSXML parser Pin
Richard MacCutchan26-Nov-13 22:49
protectorRichard MacCutchan26-Nov-13 22:49 
Questionuse of beginthreadex() Pin
bkelly1325-Nov-13 16:24
memberbkelly1325-Nov-13 16:24 
AnswerRe: use of beginthreadex() Pin
Richard MacCutchan25-Nov-13 22:44
protectorRichard MacCutchan25-Nov-13 22:44 
GeneralRe: use of beginthreadex() Pin
bkelly1326-Nov-13 8:05
memberbkelly1326-Nov-13 8:05 
GeneralRe: use of beginthreadex() Pin
Richard MacCutchan26-Nov-13 22:46
protectorRichard MacCutchan26-Nov-13 22:46 
GeneralRe: use of beginthreadex() Pin
bkelly1327-Nov-13 11:45
memberbkelly1327-Nov-13 11:45 
GeneralRe: use of beginthreadex() Pin
Richard MacCutchan27-Nov-13 22:03
protectorRichard MacCutchan27-Nov-13 22:03 
GeneralRe: use of beginthreadex() Pin
bkelly1328-Nov-13 10:08
memberbkelly1328-Nov-13 10:08 
Hello,
Re:
Quote:
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.


I have been thinking about that quite a bit. It would probably be easier to start the process as a single procedure not wrapped up in a class. But, this is for TCP/IP and there is quite a lot to do. I suppose everything could be free standing functions, but that would require a single monster procedure or require a flock of arguments for every call.

Being a single person software team where I work has some advantages, but they are truly overwhelmed by the disadvantage of not having anyone to discuss ideas with.

I think I will go to a single simple function to test out the concepts and try to get some events working. Then I will return to the TCP/IP part of this. Working one problem area at a time will make this easier.

Thank you for your thoughts.

EDIT: I have worked this on and off through the day. The current status is that creating a simple thread with some events using a free standing procedure is easier than I thought and easier that it looks. Putting a TCP/IP manager in a single procedure would probably get ugly. Right now my next step is to see what it takes to put this one procedure in a class and start it as a thread.

Would this be worth writing up as a series of articles? Article 1: Simple thread, 2: Thread from a class, 3: TCP/IP as a separate thread.
Thanks for your time
If you work with telemetry, please check this bulletin board: http://www.bkelly.ws/irig_106/


modified 28-Nov-13 23:21pm.

GeneralRe: use of beginthreadex() Pin
Albert Holguin11-Dec-13 5:01
professionalAlbert Holguin11-Dec-13 5:01 
Generaleasy for classes Pin
bkelly1311-Dec-13 12:27
memberbkelly1311-Dec-13 12:27 
GeneralRe: easy for classes Pin
Albert Holguin12-Dec-13 4:09
professionalAlbert Holguin12-Dec-13 4:09 
GeneralRe: easy for classes Pin
bkelly1312-Dec-13 12:53
memberbkelly1312-Dec-13 12:53 
AnswerRe: easy for classes Pin
Albert Holguin12-Dec-13 13:10
professionalAlbert Holguin12-Dec-13 13:10 
QuestionI want to showing "+" allways in WTL CTreeViewCtrl Pin
cheng84977cc25-Nov-13 5:40
membercheng84977cc25-Nov-13 5:40 
AnswerRe: I want to showing "+" allways in WTL CTreeViewCtrl Pin
Wayne.CN13-Jan-14 17:51
memberWayne.CN13-Jan-14 17:51 
Question[How to Convert data in textBox to .Txt file in Windows Form C++] Pin
Member 1041578020-Nov-13 19:53
memberMember 1041578020-Nov-13 19:53 
QuestionRe: [How to Convert data in textBox to .Txt file in Windows Form C++] Pin
Richard MacCutchan20-Nov-13 22:21
protectorRichard MacCutchan20-Nov-13 22:21 
Questionstl thread safe Pin
G.aius.CodeCreator18-Nov-13 15:38
memberG.aius.CodeCreator18-Nov-13 15:38 
Questionwaiting on events for socket activity Pin
bkelly1318-Nov-13 14:05
memberbkelly1318-Nov-13 14:05 
AnswerRe: waiting on events for socket activity Pin
Orjan Westin19-Nov-13 23:03
professionalOrjan Westin19-Nov-13 23:03 
GeneralRe: waiting on events for socket activity Pin
bkelly1325-Nov-13 16:08
memberbkelly1325-Nov-13 16:08 
GeneralRe: waiting on events for socket activity Pin
Orjan Westin25-Nov-13 23:01
professionalOrjan Westin25-Nov-13 23:01 
GeneralRe: waiting on events for socket activity Pin
bkelly1326-Nov-13 8:07
memberbkelly1326-Nov-13 8:07 
QuestionWhat is the window argument in WSAAsyncSelect(...) Pin
bkelly1310-Nov-13 15:59
memberbkelly1310-Nov-13 15:59 
AnswerRe: What is the window argument in WSAAsyncSelect(...) Pin
Richard MacCutchan10-Nov-13 21:08
protectorRichard MacCutchan10-Nov-13 21:08 

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.