Show More
@@ -96,7 +96,8 b' int main(int argc, char *argv[])' | |||
|
96 | 96 | /* path pyhome exists, let's use it */ |
|
97 | 97 | FindClose(hfind); |
|
98 | 98 | strcpy_s(pydllfile, sizeof(pydllfile), pyhome); |
|
99 |
strcat_s(pydllfile, sizeof(pydllfile), |
|
|
99 | strcat_s(pydllfile, sizeof(pydllfile), | |
|
100 | "\\" HGPYTHONLIB ".dll"); | |
|
100 | 101 | pydll = LoadLibrary(pydllfile); |
|
101 | 102 | if (pydll == NULL) { |
|
102 | 103 | err = "failed to load private Python DLL " |
@@ -114,7 +115,7 b' int main(int argc, char *argv[])' | |||
|
114 | 115 | } |
|
115 | 116 | |
|
116 | 117 | if (pydll == NULL) { |
|
117 | pydll = LoadLibrary(HGPYTHONLIB); | |
|
118 | pydll = LoadLibrary(HGPYTHONLIB ".dll"); | |
|
118 | 119 | if (pydll == NULL) { |
|
119 | 120 | err = "failed to load Python DLL " HGPYTHONLIB ".dll"; |
|
120 | 121 | goto bail; |
General Comments 0
You need to be logged in to leave comments.
Login now