Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: bkelly

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    528

    Prevent screen saver from activating

    Windows 10, visual Studio, c++

    There are some times when I want to prevent the screen saver for activating when there has been no input from the user. But not all the time.
    What is the most...
  2. Replies
    5
    Views
    589

    Re: most simple app for Visual Studio

    hello 2kaud,
    This is not specifically for a console window, just an app that will move the cursor.
    I used console app and am able to get the cursor position and move it. Cool.
    However, I was...
  3. Replies
    5
    Views
    589

    most simple app for Visual Studio

    Windows 10, Visual Studio 2008 and 2012

    I want to create a simple app that is nothing more than this:
    main()
    {
    for( int i = 1; i < 10; i++ )
    {
    GetCursorPos( &position );
    ...
  4. Replies
    8
    Views
    1,837

    Re: code in dot H files

    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.
  5. Replies
    8
    Views
    1,837

    Re: code in dot H files

    No, it is definately not template code.
  6. Replies
    8
    Views
    3,989

    Re: CAsyncSocket close problem

    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...
  7. Replies
    8
    Views
    3,989

    Re: CAsyncSocket close problem

    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...
  8. Replies
    8
    Views
    1,837

    code in dot H files

    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...
  9. Replies
    8
    Views
    3,989

    Re: CAsyncSocket close problem

    Hello Victor,
    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...
  10. Replies
    8
    Views
    3,989

    Re: CAsyncSocket close problem

    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...
  11. Replies
    8
    Views
    3,989

    CAsyncSocket close problem

    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...
  12. Replies
    6
    Views
    1,178

    Re: break up large TCP/IP packets

    Hello MikeAThon,

    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.
    ...
  13. Replies
    6
    Views
    1,178

    Re: break up large TCP/IP packets

    We are not having problems at the moment, but am concerned that when we transition to multiple streams, we will. Thanks for the reply.
  14. Replies
    6
    Views
    1,178

    break up large TCP/IP packets

    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...
  15. Replies
    20
    Views
    1,287

    Re: ASSERT when opening dialog box

    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) ...
  16. Replies
    20
    Views
    1,287

    Re: ASSERT when opening dialog box

    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...
  17. Replies
    20
    Views
    1,287

    Re: ASSERT when opening dialog box

    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...
  18. Replies
    20
    Views
    1,287

    Re: ASSERT when opening dialog box

    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...
  19. Replies
    20
    Views
    1,287

    Re: ASSERT when opening dialog box

    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...
  20. Replies
    20
    Views
    1,287

    Re: ASSERT when opening dialog box

    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...
  21. Replies
    20
    Views
    1,287

    ASSERT when opening dialog box

    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...
  22. Replies
    9
    Views
    3,500

    Re: creating and accessing a checkbox

    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.
  23. Replies
    9
    Views
    3,500

    Re: creating and accessing a checkbox

    Hello,
    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...
  24. Replies
    9
    Views
    3,500

    Re: creating and accessing a checkbox

    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();...
  25. Replies
    9
    Views
    3,500

    Re: creating and accessing a checkbox

    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...
Results 1 to 25 of 72
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center