AndrejMitrovic / dtk

(Work In Progress) dtk is a D wrapper of the Tcl/Tk graphics library.
Boost Software License 1.0
2 stars 0 forks source link

Bad diagnostic when wrong architecture DLL is loaded #22

Closed AndrejMitrovic closed 4 years ago

AndrejMitrovic commented 4 years ago

The DLL loader will emit:

object.Exception@..\..\src\dtk\loader.d(87): 'tcl86t.dll' not found in PATH.

But actually it emits this error even if it finds the DLL, but fails to load it. This can easily happen if we have the DLL for the wrong architecture in the PATH. We need to fix this error message.

AndrejMitrovic commented 4 years ago

This was fixed in https://github.com/AndrejMitrovic/dtk/pull/25