consistant crash when trying to select a file in scripting tool

A place to report problems and bugs in 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

Please also read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
Post Reply
Phoenix
Posts: 16
Joined: Sat May 03, 2025 9:25 pm

consistant crash when trying to select a file in scripting tool

#1

Post by Phoenix »

Im trying to add a command REPEAT FOR EACH RA/DEC CO-ORDINATE IN<..>
when i try to select the file, the whole program crashes

NBug: Error Id #73580 SharpCap.dll (4.1.13502.0): System.ArgumentException @ void ThrowIfFailed()@MS.Internal.Interop.HRESULT


there is a file created for the bug report but i don't know how to attach it here.
User avatar
admin
Site Admin
Posts: 17524
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: consistant crash when trying to select a file in scripting tool

#2

Post by admin »

Hi,

I found your uploaded crash report - can't quite see what is going on exactly, but I can see that there is an issue with the way the code is storing/restoring the most recently used folder for when you press that button, and I think that might be contributing. I am going to fix that for the next update (hopefully uploaded later today) and then we will see if that gets us any improvement.

As a workaround, you could paste in the text of the full file path/name of the file you want rather than usign the '...' button to browse for it.

cheers,

Robin
Post Reply