DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Invalid Monitor Handle  (Read 18,338 times)

idean

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3
Invalid Monitor Handle
« on: November 17, 2011, 02:37 PM »
Sometimes (not always) after docking/undocking my laptop from my dual-screen docking station, I get a "Invalid Monitor Handle" popup and the tooltray icon turns red.  My only solution is to exit the application and start it anew, and it works fine then...

sba

  • Member
  • Joined in 2007
  • **
  • Posts: 57
Re: Invalid Monitor Handle
« Reply #1 on: March 29, 2012, 10:04 AM »
I get the exact same problem, might be related to using Remote Desktop on a single-monitor machine to access my dual-monitor machine...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Invalid Monitor Handle
« Reply #2 on: March 29, 2012, 03:28 PM »
hmm.. very strange. can you describe the actual steps to reproduce?

sba

  • Member
  • Joined in 2007
  • **
  • Posts: 57
Re: Invalid Monitor Handle
« Reply #3 on: March 29, 2012, 03:42 PM »
Repro'ed it on my first attempt (dunno if all steps are mandatory):

- took a screenshot of an app on the 1st monitor (actually discarded it in the "what's next" dialog)
- took a screenshot of an app on the 2nd monitor (actually discarded it in the "what's next" dialog)
- connected to the machine using Remote Desktop from another PC that has only one monitor
- closed the Remote Desktop session  (not a logoff!)
- reconnected to the dual-monitor PC's console
- hit Alt+PrtSc
- got the error message ==> had to close ScreenShot Captor

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Invalid Monitor Handle
« Reply #4 on: April 01, 2012, 04:46 PM »
Ok I think i'm narrowing it down.

Can you check for me -- if you repeat that process just do a normal PrtScr to capture the entire screen, do you get the error?
I.e. is it only when you do an alt+PrtScr for active window capture, that the problem occurs?

sba

  • Member
  • Joined in 2007
  • **
  • Posts: 57
Re: Invalid Monitor Handle
« Reply #5 on: April 02, 2012, 07:35 AM »
Indeed, I'm not able to repro the problem with just PrtSc

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Invalid Monitor Handle
« Reply #6 on: April 02, 2012, 03:07 PM »
ok hopefully that should be the clue i need to track down the problem, thanks. i should have a sc update this week and we can try to test some fixes.

sba

  • Member
  • Joined in 2007
  • **
  • Posts: 57
Re: Invalid Monitor Handle
« Reply #7 on: April 02, 2012, 03:19 PM »
great! just drop a note here to notify me where there's something I can give a shot  :P

sba

  • Member
  • Joined in 2007
  • **
  • Posts: 57
Re: Invalid Monitor Handle
« Reply #8 on: April 11, 2012, 04:24 PM »
I hate to say, but just got the problem again with 3.03.01...

sba

  • Member
  • Joined in 2007
  • **
  • Posts: 57
Re: Invalid Monitor Handle
« Reply #9 on: May 23, 2012, 11:59 AM »
I hate to say, but just got the problem with 3.04.01

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Invalid Monitor Handle
« Reply #10 on: May 23, 2012, 07:06 PM »
I've been so slow getting this latest update out, but i haven't forgotten.  This week for sure.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Invalid Monitor Handle
« Reply #11 on: May 24, 2012, 05:28 AM »
Well I am having a heck of a time reproducing this -- Can I clarify something -- is anyone ever getting this OTHER than with the use of remote desktop?

Can you try:
http://www.donationcoder.com/Software/Mouser/screenshotcaptor/downloads/beta/ScreenshotCaptorSetup.exe

sba

  • Member
  • Joined in 2007
  • **
  • Posts: 57
Re: Invalid Monitor Handle
« Reply #12 on: June 18, 2012, 04:23 PM »
I hate to say, but the problem is still there with 3.06.01...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Invalid Monitor Handle
« Reply #13 on: June 18, 2012, 04:26 PM »
im working on the new sc release as we speak.. i've fixed a couple of other bugs and there's is not much left to do but fix this evil one.

sba

  • Member
  • Joined in 2007
  • **
  • Posts: 57
Re: Invalid Monitor Handle
« Reply #14 on: June 18, 2012, 06:32 PM »
if you need a tester for preliminary builds...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Invalid Monitor Handle
« Reply #15 on: June 18, 2012, 08:39 PM »
Ok I think i have it fixed; new version coming up tonight.

New release is up and official -- hopefully solves the problem.
« Last Edit: June 19, 2012, 08:53 AM by mouser »

Original address: https://www.donationcoder.com/forum/index.php?topic=28702.0