/*
Acording [information] below to create a path splitter function as 
bool SplitPath(char *tpPath,char *tpDevice, char *tpDir, char *tpFile, char *tpExt)

[information]
SplitPath function will split a path into dir, file and ext.
the path is a string like this:
"/Users/cric/CricArea/CODE/Dbk/src/Lib2Stg/Lib2Stg.cpp" this path is without device-name 
in return , the device, the dir, file and ext will be: 
tpDevice = ""
tpDir = "/Users/cric/CricArea/CODE/Dbk/src/Lib2Stg"
tpFile = "Lib2Stg"
tpExt = ".cpp"

"/Volumes/CSysWin8/Digicont/Pic/others/080SK3-1-4Z6.jpg" this path is with device-name
in return , the device, the dir, file and ext will be: 
tpDevice = "/Volumes/CSysWin8"
tpDir = "/Digicont/Pic/others"
tpFile = "080SK3-1-4Z6"
tpExt = ".jpg"

*/
