Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Error Loading DLL, Windows 11, TH260N #33

Copy link
Copy link
@jpalm-pv

Description

@jpalm-pv
Issue body actions

Describe the bug
Hello. I am experiencing an inconsistent error in loading the "snAPI64.dll" file. This may be due to my own ignorance, but I'm out of troubleshooting ideas.

Screenshot 1 shows the command line output when I run my program. It fails on initialization of a snAPI object (self.sn = snAPI()).

However, if I restart the kernel and in the command line I initialize a snAPI object (from snAPI.Main import *; sn = snAPI(), Screenshot 2), the device connects just fine. If I then close the device and exit the API (sn.closeDevice(); sn.exitAPI()), I can run my program without issues.

This error occurred when I was setting up this system, but as if by magic, it disappeared. This issue has resurfaced with zero changes to the system.

Trouble Shooting I Have Tried

  • Uninstalled/Reinstalled python 3.12
  • Update C++ Redist
  • Restart computer
  • Run command line as administrator

Screenshots
Screenshot 1:
DirectlyRunPrgm

Screenshot 2:
CmdLineFirst

System Specs:
SystemSpecs

Additional context
Thanks in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.