New to Delphi XE2 from Delphi 7 - STUCK
Posted on 2014-01-15
For over 10 years I have been using the ExecuteFile function from the fmxUtils unit. Upon switching to Delphi XE2, I no longer seem to have that available to me. WinExec does not work. CreateProcess gives access violation. What do I have to do to execute a program? This was something that was always simple to do. Now suddenly it seems rather tricky. Perhaps it's something in the ASCII to Unicode conversion as all winapi calls seem to be PWideChar instead of PChar.