VC++6.0获得当前程序路径
char path[255];
?
GetMouleFileName(NULL,path,255);?????????????????? "D:\\MyProject\\Test\\Bin\\Test.exe"
*strrchr(path,'\\')='\0';?????????????????????????????????????????? "D:\\MyProject\\Test\\Bin\"