mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-02 06:17:03 +01:00
Added all os windows the includes temporarily to the sub process class.
This commit is contained in:
parent
3214cac8a6
commit
33c1b9c50f
@ -30,6 +30,14 @@
|
||||
|
||||
#include "sub_process_windows.h"
|
||||
|
||||
// TODO clean these up
|
||||
#include <avrt.h>
|
||||
#include <direct.h>
|
||||
#include <knownfolders.h>
|
||||
#include <process.h>
|
||||
#include <regstr.h>
|
||||
#include <shlobj.h>
|
||||
|
||||
Error SubProcessWindows::start() {
|
||||
if (_executable_path.empty()) {
|
||||
return ERR_FILE_BAD_PATH;
|
||||
|
@ -33,9 +33,15 @@
|
||||
|
||||
#include "core/os/sub_process.h"
|
||||
|
||||
#include <process.h>
|
||||
// TODO clean these up
|
||||
#include <dwmapi.h>
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
#include <shellapi.h>
|
||||
#include <stdio.h>
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
|
||||
typedef HANDLE(WINAPI *WTOpenPtr)(HWND p_window, LOGCONTEXTW *p_ctx, BOOL p_enable);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user