1 CString MyDllAllPath="\\382477247.dll";//当前目录的"382477247.dll" 2 char str[255]; 3 GetCurrentDirectory(255,str);//取当前运行目录 4 MyDllAllPath = str +MyDllAllPath ;