From 513c1b92adf802d869929c31125e94bdb61235ac Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 25 Nov 2015 12:06:20 -0500 Subject: [PATCH] Fixed some DLL problems. --- wpf/sta.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpf/sta.c b/wpf/sta.c index 95082836..c67355e3 100644 --- a/wpf/sta.c +++ b/wpf/sta.c @@ -4,6 +4,8 @@ #endif #include "../windows/winapi.h" #include "../ui.h" +// TODO to make sure wpfInit() is exported properly +#include "wpf.h" // If we don't set up the current thread otherwise, the first time .net tries to call out to unmanaged code, it will automatically set up a MTA for COM. // This is not what we want; we need a STA instead.