荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: wengison (树的眼睛), 信区: Visual
标  题: Re: 如何获得当前路径?
发信站: 荔园晨风BBS站 (Sun Sep 14 20:30:13 2003), 站内信件

GetCurrentDirectory
The GetCurrentDirectory function retrieves the current directory for the
 current process.

DWORD GetCurrentDirectory(
  DWORD nBufferLength,  // size, in characters, of directory buffer
  LPTSTR lpBuffer       // pointer to buffer for current directory
);

Parameters
nBufferLength
Specifies the length, in characters, of the buffer for the current
directory string. The buffer length must include room for a
terminating null character.
lpBuffer
Pointer to the buffer for the current directory string. This
null-terminated string specifies the absolute path to the current
directory.

【 在 bigone (命之气) 的大作中提到: 】
:         获得当前的绝对路径?在刚才提到的函数里要用,找半天没找着


--
OH,I CAN DO IT.
     YES, I CAN.

※ 来源:·荔园晨风BBS站 bbs.szu.edu.cn·[FROM: 192.168.79.79]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店