glib/glibbackend/src/getProgPath.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
equal deleted inserted replaced
56:acd3cd4aaceb 57:2efc27d87e1c
    53 	else
    53 	else
    54 	{
    54 	{
    55 		// If successful, convert from TDesC to narrow chars and 
    55 		// If successful, convert from TDesC to narrow chars and 
    56 		// return.
    56 		// return.
    57 		TFileName fileName = iProcess.FileName();
    57 		TFileName fileName = iProcess.FileName();
    58 		iProcess.Kill(0);
       
    59 		iProcess.Close();
    58 		iProcess.Close();
    60 		
    59 		
    61 		pathLength = fileName.Length();
    60 		pathLength = fileName.Length();
    62 		
    61 		
    63 		progPath = (char *)malloc(pathLength + 1);
    62 		progPath = (char *)malloc(pathLength + 1);