Fixed some DLL problems.

This commit is contained in:
Pietro Gagliardi 2015-11-25 12:06:20 -05:00
parent b0e5ba2bc7
commit 513c1b92ad
1 changed files with 2 additions and 0 deletions

View File

@ -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.