windows api 接口测试:GetModuleFileNameA和GetCurrentDirectoryA
GetModuleFileNameA功能:获取当前进程的完整路径GetCurrentDirectoryA功能:获取当前进程的目录测试代码如下:#include "stdafx.h"
#include <iostream>
#include <windows.h>
using namespace std;
#define MAX_LENGTH (100)
...
原创
2018-05-20 19:29:27 ·
768 阅读 ·
0 评论