Hi,
I’m very new in c++ developement but I would like to use the already existing function:
api link
In my cpp I just wrote, in the BeginPlay():
{
Super::BeginPlay();
FString percorsoFile2 = “D:\download.png”;
FGenericPlatformProcess::LaunchFileInDefaultExternalApplication( *percorsoFile2 );
}
It compiles correct but when I press Play in the editor and when launchfileindefaultexternalapplication is executed the editor crashes.
In this case I opened a png but the real purpose of this script is to open files like power point slideshows.
Thanks for any help!
As I said I’m very new to c++ so please be patient!