minimize the screen

Somewhere to ask questions about the best way to use SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
Ray Hansen
Posts: 39
Joined: Sun Jun 11, 2017 5:54 am
Location: Scottsdale Arizona

minimize the screen

#1

Post by Ray Hansen »

When I try to minimize the main screen, the program just terminates
and I have to restart. Is there a trick to this besides clicking on the '-'?
User avatar
admin
Site Admin
Posts: 13296
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: minimize the screen

#2

Post by admin »

Hi,

sounds like a bug, but I can't make it happen with 3.0, 3.1 or 3.2 beta (I just tried starting each and then minimizing). What version are you using and what exact steps do you need to take from starting SharpCap to make the bug happen?

thanks,

Robin
Ray Hansen
Posts: 39
Joined: Sun Jun 11, 2017 5:54 am
Location: Scottsdale Arizona

Re: minimize the screen

#3

Post by Ray Hansen »

Hi Robin. I'm using 3.1.5219 in windows 10 home, build 17134. From startup, I can try directly or work through any number of steps, but as soon as I click to minimize, the program terminates. Is there a log file I can send?
User avatar
admin
Site Admin
Posts: 13296
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: minimize the screen

#4

Post by admin »

Hi,

very weird - works for me with that exact version - the app just minimizes to the taskbar and comes back nicely when clicked on.

Anyway, logs... Delete all existing log files in

Code: Select all

%LOCALAPPDATA%\SharpCap\logs
as clearing this folder makes it easy to find the correct new log.

Then, run the application and perform the test that crashes it and you should have one log file in that folder which you can send to me.

cheers,

Robin
Ray Hansen
Posts: 39
Joined: Sun Jun 11, 2017 5:54 am
Location: Scottsdale Arizona

Re: minimize the screen

#5

Post by Ray Hansen »

File attached.
Attachments
Log_2018-09-01T20_05_38-5600.log
(8.88 KiB) Downloaded 364 times
User avatar
admin
Site Admin
Posts: 13296
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: minimize the screen

#6

Post by admin »

Ok, thanks for that - there is no evidence in the log of anything bad happening at the end, so while it rules out some possibilities it doesn't pin down the cause :(

Can you check to see if SharpCap is still running in the Task Manager process list after you minimize it?

cheers,

Robin
Ray Hansen
Posts: 39
Joined: Sun Jun 11, 2017 5:54 am
Location: Scottsdale Arizona

Re: minimize the screen

#7

Post by Ray Hansen »

Task manager shows it ending immediately.
User avatar
admin
Site Admin
Posts: 13296
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: minimize the screen

#8

Post by admin »

Weird!

You need to try to get SharpCap to make a crash dump - see the 'No Crash Report?' section of the docs for instructions - https://docs.sharpcap.co.uk/2.9/#No%20Crash%20Report%3F

cheers,

Robin
Ray Hansen
Posts: 39
Joined: Sun Jun 11, 2017 5:54 am
Location: Scottsdale Arizona

Re: minimize the screen

#9

Post by Ray Hansen »

No luck.
For my command line I used "c:\Program Files (x86)\SharpCap 3.1\SharpCap.exe" /dump . The program started then
terminated as usual when I clicked minimize. But there is no dump file created. It doesn't show up on the desktop or
when I do a quick file search. Is there anything else I can do?
User avatar
admin
Site Admin
Posts: 13296
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: minimize the screen

#10

Post by admin »

The mystery deepens - no dump file and no longer in process explorer would seem to suggest it exited without an error, but that's silly if you just tried to minimize.

Time to wheel out the big guns... Procdump (down load from https://docs.microsoft.com/en-us/sysint ... s/procdump)

Unzip, then from a command prompt run

Code: Select all

procdump -e -w SharpCap.exe %DESKTOP%\SharpCap.dmp
The run SharpCap (normally, no need for command line). Procdump will spot SharpCap starting up and print a lot of messages. Now Minimize SharpCap. If there is an error then ProcDump should create the dump file. If SharpCap exits cleanly then procdump will also exit with a message like

Code: Select all

[20:47:30] The process has exited.
[20:47:30] Dump count not reached.
If procdump doesn't exit when you minimize then it means that SharpCap is still running somehow. Let me know what results you see.

cheers,

Robin
Post Reply