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

Search:

Type: Posts; User: Labyrinth

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    511

    Re: Help simple string program

    Awesome, it works! Thanks a bunch! How very elegant. I will study + learn from it.

    Neat use of cin type space skipping + ifstream c.str.



    I'm surprised it could be simplified still...
  2. Replies
    5
    Views
    511

    Re: Help simple string program

    I tried to run the MSVC debugger, but it just exists after inputting the filenames and gives me no information. I'm not familiar with debuggers so I was looking at some GDB commands but I'm still not...
  3. Replies
    5
    Views
    511

    Help simple string program

    I'm trying to write a simple console app, it reads input from two files, does some math with them, and outputs the results into a new file.

    The files have data that looks like this:

    5.96735...
  4. Replies
    13
    Views
    2,302

    Re: WM_Input runtime crash

    Ok cool. It works without crashing now. Thanks for your help I really appreciate it. The LPBYTE thing is fixed.

    One issue I am having is that it won't let me click the 'x' to close it though. It...
  5. Replies
    13
    Views
    2,302

    Re: WM_Input runtime crash

    Yes it should! I put rabbit there to remind me to go back and fix it at some point lol. Thanks.



    Right ok. Fixed.



    Are you saying that I shouldn't send a WM_PAINT message, or that I'm not...
  6. Replies
    13
    Views
    2,302

    Re: WM_Input runtime crash

    #include "stdafx.h"
    #include "inter2.h"
    #include <iostream>
    #include <Strsafe.h>

    #define MAX_LOADSTRING 100

    // Global Variables:
    HINSTANCE hInst;
    TCHAR szTitle[MAX_LOADSTRING];
  7. Replies
    13
    Views
    2,302

    Re: WM_Input runtime crash

    Any ideas?

    What needs to be done to get data.mouse.lLastX updated live on the screen?

    Here's the code now after I've been poking at it.




    #include "stdafx.h"
  8. Replies
    13
    Views
    2,302

    Re: WM_Input runtime crash

    Ok, bit of a rewrite :-)



    #include "stdafx.h"
    #include "inter2.h"
    #include <Strsafe.h>
    #include <iostream>
    //#include <sstream>
    //#include <string>
  9. Replies
    13
    Views
    2,302

    Re: WM_Input runtime crash

    Yikes. If it's easier I could just have a program that displays a window with text and have it update with the mouse movement ala direct x mouserate checker.

    I'm not sure I trust anything other...
  10. Replies
    13
    Views
    2,302

    Re: WM_Input runtime crash

    I changed RegisterRawInputDevices(Rid, 2, sizeof(Rid[0])) == FALSE)

    to RegisterRawInputDevices(Rid, 1, sizeof(Rid[0])) == FALSE)

    Now I don't get the 1004 error, hopefully that's because the...
  11. Replies
    13
    Views
    2,302

    WM_Input runtime crash

    I am a novice programmer trying to create the following application:

    1. Can just be a simple CLI program.

    2. Gets mouse input from WM_Input, not for buttons just whatever the mouse sends...
Results 1 to 11 of 11


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center