在UE4里打开外部文件
来源:互联网 发布:知柏地黄丸哪家好 编辑:程序博客网 时间:2024/05/16 11:42
//启动外部程序void ABIM_VRLab_CPPGameModeBase::OpenFile(FString FilePath){ //static FProcHandle CreateProc //( // const TCHAR * URL, // const TCHAR * Parms, // bool bLaunchDetached, // bool bLaunchHidden, // bool bLaunchReallyHidden, // uint32 * OutProcessID, // int32 PriorityModifier, // const TCHAR * OptionalWorkingDirectory, // void * PipeWriteChild, // void * PipeReadChild //) FPlatformProcess::CreateProc(*FilePath, nullptr, true, false, false, nullptr, 0, nullptr, nullptr);}
官方文档
https://docs.unrealengine.com/latest/INT/API/Runtime/Core/GenericPlatform/FGenericPlatformProcess/CreateProc/index.html
阅读全文