mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
need some include files there
This commit is contained in:
parent
875284deae
commit
c96e429f4a
@ -18,6 +18,8 @@
|
||||
|
||||
#include "dtoolbase.h"
|
||||
#include "filename.h"
|
||||
#include "dSearchPath.h"
|
||||
#include "executionEnvironment.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
@ -158,9 +160,11 @@ main(int argc, char *argv[]) {
|
||||
#ifdef _WIN32
|
||||
// Windows case.
|
||||
char *command_line = strdup(GetCommandLine());
|
||||
cout << "command_line: " << command_line << "\n";
|
||||
STARTUPINFO startup_info;
|
||||
PROCESS_INFORMATION process_info;
|
||||
GetStartupInfo(&startup_info);
|
||||
cout << "os_command: " << os_command.c_str() << "\n";
|
||||
BOOL result = CreateProcess(os_command.c_str(),
|
||||
command_line,
|
||||
NULL, NULL, true, 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user