Skip to content

runtime failure #4

@djslabs

Description

@djslabs

Trying to include in a vb.net app written under visual studio 2022.

windows app, .net 6.0, target cpu x86. running under windows 11 pro.

code snippet
Dim dmxtimer As New DmxTimer

    Dim dmxcontroller As New OpenDmxController(dmxtimer)

    dmxcontroller.Open(0)

    dmxcontroller.SetChannelRange(1, 0, 0, 0, 0)

    dmxtimer.Start()

    Threading.Thread.Sleep(1000)

    dmxtimer.Dispose()
    dmxcontroller.Dispose()

at execution time receive the following on the dmxcontroller.open(0) statement

Exception thrown: 'System.DllNotFoundException' in DMX.NET.dll
An exception of type 'System.DllNotFoundException' occurred in DMX.NET.dll but was not handled in user code
Unable to load DLL 'libs/FTD2XX' or one of its dependencies: The specified module could not be found. (0x8007007E)

ftd2xx.dll is in \windows\system32 and is installed as the hardware driver for my USB serial converter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions