mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
fix(IM): actually log DllNotFoundException
This commit is contained in:
parent
5ff5b68a1a
commit
19fc88e29d
1 changed files with 3 additions and 1 deletions
|
|
@ -336,8 +336,10 @@ namespace Dalamud.Interface.Internal
|
||||||
{
|
{
|
||||||
this.scene = new RawDX11Scene(swapChain);
|
this.scene = new RawDX11Scene(swapChain);
|
||||||
}
|
}
|
||||||
catch (DllNotFoundException)
|
catch (DllNotFoundException ex)
|
||||||
{
|
{
|
||||||
|
Log.Error(ex, "Could not load ImGui dependencies.");
|
||||||
|
|
||||||
var res = PInvoke.User32.MessageBox(
|
var res = PInvoke.User32.MessageBox(
|
||||||
IntPtr.Zero,
|
IntPtr.Zero,
|
||||||
"Dalamud plugins require the Microsoft Visual C++ Redistributable to be installed.\nPlease install the runtime from the official Microsoft website or disable Dalamud.\n\nDo you want to download the redistributable now?",
|
"Dalamud plugins require the Microsoft Visual C++ Redistributable to be installed.\nPlease install the runtime from the official Microsoft website or disable Dalamud.\n\nDo you want to download the redistributable now?",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue