issue with touptek filter wheel with new beta instal

Discussions, Bug Reports and Issues related to Beta versions of SharpCap
Post Reply
Opmc73
Posts: 115
Joined: Tue Jul 09, 2024 10:27 am

issue with touptek filter wheel with new beta instal

#1

Post by Opmc73 »

Hi Robin,

this is the 3rd time I install the beta and it mess the toupcam.dll that make the filterwheel not recognized. I have to reinstall each time the touptek ascom drivrer and then I need to reconfigure from scratch the filter wheel.

See below , it seems in installa a wrong or corrupted version of toupcam.dll in Sc , but not sure.
Capture d’écran 2026-10-22 192026.jpg
Capture d’écran 2026-10-22 192026.jpg (121.61 KiB) Viewed 327 times
kind regards
Olivier
User avatar
admin
Site Admin
Posts: 17530
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: issue with touptek filter wheel with new beta instal

#2

Post by admin »

Hi,

the problem here is that there can only be one 'toupcam.dll' loaded into SharpCap, and the version that gets loaded first is the one that SharpCap installs. I guess that the ASCOM driver for the ToupTek filter wheel either uses a new or a special version of the DLL, and the version that SharpCap installs is missing the filter wheel related code.

The ideal thing would be for each of the ToupTek ASCOM drivers to use have a renamed version of the DLL - 'toupcam_filterwheel.dll', 'toupcam_focuser.dll', etc, which would then avoid clashes with applications like SharpCap and also clashes between the different ASCOM drivers themselves. However, that isn't likely to happen...

A good workaround is to use the ASCOM 'Just A Hub' device as a go-between - set up SharpCap to talk to 'Just A Hub Filterwheel', then that to talk to the ToupTek wheel. That fixes the problem by getting the ToupTek ASCOM driver running in a different process, which can then load its own copy of ToupCam.dll from the ASCOM folder without conflicting with SharpCap.

I will also have a check to see if there are new SDK updates that I haven't brought into SharpCap yet - maybe I have missed one.

cheers,

Robin
Tac.Lk
Posts: 1
Joined: Mon Oct 26, 2026 1:07 am

Re: issue with touptek filter wheel with new beta instal

#3

Post by Tac.Lk »

HI,I have performed some tests. The current version of SharpCap Beta (4.2.15332) is loading the following SDK: `G:\SharpCap 4.2 (64 bit) Beta\toupcam.dll` (version 60.32549.20260908). The ToupTek ASCOM driver version is 6.5.32129.20260730.
With this configuration, the filter wheel connects correctly, and all 7 filter positions are detected. I reinstalled the software on various drives on my machine, but I was unable to reproduce the "Toupcam_get_Int entry point missing" error shown in your screenshot.
Opmc73
Posts: 115
Joined: Tue Jul 09, 2024 10:27 am

Re: issue with touptek filter wheel with new beta instal

#4

Post by Opmc73 »

Hi Robin,

The last version of sharpcap (15332) seems have fixed the touptek filter wheel issue I got as the filter wheel is now correctly recognized. So maybe it was just the previous versions using an older version of the dll ?

Kind regards
Olivier
User avatar
admin
Site Admin
Posts: 17530
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: issue with touptek filter wheel with new beta instal

#5

Post by admin »

Hi,

I expect that's it - I did update the ToupTek DLL in the latest build of SharpCap 4.2, so presumably the new version has all the code needed to support the filter wheel :)

cheers,

Robin
Post Reply