Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Spy++ Log to File Question

Spy++ Log to File Question

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionhelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    ursus zeta
    wrote on last edited by
    #1

    I am inexperienced with Spy++, and I have searched the MSDN site and read and re-read the Help Docs that come with Visual C++, and, I cannot get the the message log to save to a log file. I suspect that I am doing something incredibly dumb, something that would be obvious to some of you more experienced coders. Also, when operating Spy++, I get what appear to be spurious messages (I have the Introductory Edition, so maybe this normal). Anyway,... I launch Spy++, click on windows (from the menu) and select a window, then select messages, at which point I get a popup message box telling me that some other process is logging the messages in that window. If I move the cursor into the selected window, the log starts and I get a rapid-fire list of cursor and hit test messages (these are actually the correct mesasages). Then I select Options and the Output tab I check the save log to file (or something like that), and provide a path, and check OK. The file always shows up at the location specified but empty, and sometimes I get an invalid log file message (and sometimes I don't). I searched for information on what a valid file type would be and came up with nada. I am typing in a typical pathname, like "C:\Folder Name\File Name.ext" (without the quotes). Would this be a log or text file, or does it even matter? Do any of you people use this feature? If so, how does it work? I would appreciate any useful information. Thanks.

    M 1 Reply Last reply
    0
    • U ursus zeta

      I am inexperienced with Spy++, and I have searched the MSDN site and read and re-read the Help Docs that come with Visual C++, and, I cannot get the the message log to save to a log file. I suspect that I am doing something incredibly dumb, something that would be obvious to some of you more experienced coders. Also, when operating Spy++, I get what appear to be spurious messages (I have the Introductory Edition, so maybe this normal). Anyway,... I launch Spy++, click on windows (from the menu) and select a window, then select messages, at which point I get a popup message box telling me that some other process is logging the messages in that window. If I move the cursor into the selected window, the log starts and I get a rapid-fire list of cursor and hit test messages (these are actually the correct mesasages). Then I select Options and the Output tab I check the save log to file (or something like that), and provide a path, and check OK. The file always shows up at the location specified but empty, and sometimes I get an invalid log file message (and sometimes I don't). I searched for information on what a valid file type would be and came up with nada. I am typing in a typical pathname, like "C:\Folder Name\File Name.ext" (without the quotes). Would this be a log or text file, or does it even matter? Do any of you people use this feature? If so, how does it work? I would appreciate any useful information. Thanks.

      M Offline
      M Offline
      Mike Nordell
      wrote on last edited by
      #2

      Try start spying on a window. Press F8 (Stop Logging). Then go to options and fill in a filename. The Start Logging again. That's the only way I got it to work.

      U 1 Reply Last reply
      0
      • M Mike Nordell

        Try start spying on a window. Press F8 (Stop Logging). Then go to options and fill in a filename. The Start Logging again. That's the only way I got it to work.

        U Offline
        U Offline
        ursus zeta
        wrote on last edited by
        #3

        Mike Nordell, You know, I did accidentally get it to work one time, and I couldn't figure out what I had done. I'll bet that was it, because I did start and stop the logging several times trying to determine what was what. Thanks for that clue, I was ready to kill (an innocent bystander) in frustration. It didn't seem intuitive or even logical, that it should be necessary to stop and then start spying again,...and you would think they could include that in their Help.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups