Type: Posts; User: bkelly
Search took 0.01 seconds.
November 7th, 2012, 11:54 AM
I agree and those are my thoughts. The previous guy did so much like this that I figured there might be something I am totaly unaware of.
Thanks for taking the time to reply.
November 7th, 2012, 11:16 AM
No, it is definately not template code.
November 7th, 2012, 09:18 AM
Ok. but that is a real heavy weight class. My application does nothing but send one type of data and never receives anything. And it does it ten times per millisecond so I want something as simple...
November 7th, 2012, 08:58 AM
The use of "delete this" might work, I'll try it.
I don't know how to create new threads and how to very efficiently pass data between them. (This application creates about ten TCP packets per...
November 7th, 2012, 08:40 AM
An engineer just left our project and now I am working on his project. In his dot H files there are several routines where he writes the executable code in the declaration rather than the dot C or...
November 7th, 2012, 08:29 AM
Re: So, can't you delete it after closing the socket?
The problem is not that I cannot delete it. The problem is what deletes it and when?
Class C_Server, derived from...
November 7th, 2012, 07:17 AM
Class C_Server posts the listen and when the client solicits a connection the accept() method creates an instance of C_Server_Send to carry on the conversation with the client. That object is newed...
November 6th, 2012, 08:41 PM
Environment: windows XP and Win 7, Visual Studio 2008, MFC, C++, CAsyncSocket
Setup: I wrote a test program that drives the server side and the client side of a TCP/IP connection using...
September 5th, 2012, 09:02 AM
The concept that TCP does a good job packetizing make great sense. The Microsoft people has been dealing with that for quite a long time and should have it down by now.
September 4th, 2012, 10:22 AM
We are not having problems at the moment, but am concerned that when we transition to multiple streams, we will. Thanks for the reply.
September 3rd, 2012, 08:58 PM
Environment: Windows XP Pro and Win 7, Visual Studio 2008, MFC, C++
I have an message application that fetches telemetry data from some hardware, processes it, and sends the data to a display...
August 24th, 2012, 11:10 AM
Yes, you are correct. I just went back and looked. There are couple of significant fixed arrays (not dynamic as I stated earlier), one of a structure with 500K entries. (yes, absolutely required) ...
August 24th, 2012, 09:33 AM
On start of the application. From the OP: Environment: Windows XP Pro, Visual Studio 2008, MFC, C++
When I looked at the call stack, none of the modules I wrote were listed. I am not...
August 24th, 2012, 07:22 AM
This application does not use any recursion. There are two large arrays that are are allocated dynamically after the program prompts for a a configuration file name and reads it. The stack overflow...
August 23rd, 2012, 06:25 PM
At some point my program was running fine with no memory leaks and doing what I wanted. Then I decided it would be cleaner to create a rather complex class as static. I declared it the .h file of...
August 21st, 2012, 05:40 PM
Hello Paul and all,
From the replies I see I have missed a bunch of stuff.
I have been unsuccessfully searching for a simple tutorial that describes how to use the built in GUI tools of Visual...
August 21st, 2012, 05:17 PM
Because I tried to change another class from dynamic (i.e. new) to static and I immediatly started getting stackoverlow on startup. So I decided to have all the classes created dynamically. Any...
August 21st, 2012, 03:09 PM
Environment: Windows XP Pro, Visual Studio 2008, MFC, C++
I have regressed since my last post and now am getting an Assert when I click a button to open a second dialog box.
Note: I cannot cut...
August 20th, 2012, 02:53 PM
I did not know to go there. Now I am a step further down the path and am documenting what I am doing so when I forget, I can figure it out again.
Thank you for taking the time to reply.
August 20th, 2012, 02:26 PM
In that link I find:
At step 2 I ask: What Properties Window? If I right click the class name itself, there is no Properties selection. If I go to the Visual Studio tool bar and...
August 20th, 2012, 12:49 PM
In the class I just declared the method OnInitDialog() and in there I wrote:
CButton *m_ctl_Check = (CButton*) GetDlgItem( IDC_CBOX_ENABLE_ALL_LOGGING );
int status = m_ctlCheck->GetCheck();...
August 20th, 2012, 12:23 PM
OK, I think I understand, but there is no OnInitDialog()(.
After creating what I thought was a class for the dialog box, I have searched the entire solution and the only OnInitDialog() is the one...
August 20th, 2012, 10:57 AM
Windows XP Pro, Visual Studio 2008, C++, MFC
Goal: use some checkboxes
Created a Dialog
Created a class for the dialog: C_Control_Logging
Created a checkbox: ID =...
August 9th, 2012, 06:46 AM
I participate in missions here at work that take prioirty over everything. There are a number of points made recently that I don't fully understand and need to think about for a while. I...
August 8th, 2012, 02:06 PM
I do not understand why you are asking that question. In the OP I wrote:
The #include that starts the trouble is being added to C_IADS_TCP_Manager. If it is being added to that class, how...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.