I have a viewer to show my saved reports. Delphi XE7 works all right. But, on new version (Delphi Tokyo) it doesn't work.
if OpenDialog.Execute then
ShellExecute (0, nil, 'C:\C_Progs\CrystalViewer.exe',
PWideChar('"' +OpenDialog.FileName+ '"'), nil, SW_ShowMaximized);
It's curious, since it only occurs when I select a file from a mapped drive.
ERROR: The application was unable to start correctly (0xc0000001). Click OK to close the application