Commit b8cdd868 by 李定达

1.修复代码bug

parent 1120503a
...@@ -48,7 +48,7 @@ HMODULE GetInstance() ...@@ -48,7 +48,7 @@ HMODULE GetInstance()
char *ch = strrchr(mod,'\\'); char *ch = strrchr(mod,'\\');
if (ch++) { if (ch++) {
*ch = '\0'; *ch = '\0';
}
DWORD dwSize =GetEnvironmentVariable("path", chBuf, 10240); DWORD dwSize =GetEnvironmentVariable("path", chBuf, 10240);
std::string currpath(chBuf); std::string currpath(chBuf);
...@@ -79,9 +79,6 @@ HMODULE GetInstance() ...@@ -79,9 +79,6 @@ HMODULE GetInstance()
// SetCurrentDirectory(current_dir); // SetCurrentDirectory(current_dir);
// return hMod; // return hMod;
}
return NULL;
} }
void DoCopyFile(const char *dir) void DoCopyFile(const char *dir)
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment