And what about simply doing some PspName = strrchr(ProgramName, '\'); or whatever? It looks really weird to start looking at the begin of a path to get its last element delimitation...
And for the record, otherwise, you have splitpath :-)
On 18/08/2015 14:35, Thomas Faber wrote:
On 2015-08-18 14:26, hbelusca@svn.reactos.org wrote:
[NTVDM]: Initialize the PSP' memory control block owner name with the file name (without extension, and up to 8 chars) of the started program.
Shouldn't that use GetShortPathName to make sure the program can find itself on disk? :p
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev