Show More
@@ -86,11 +86,12 int _tmain(int argc, TCHAR *argv[]) | |||||
86 | scenario, so let's load python dll from this dir. */ |
|
86 | scenario, so let's load python dll from this dir. */ | |
87 | FindClose(hfind); |
|
87 | FindClose(hfind); | |
88 | _tcscpy_s(pydllfile, _countof(pydllfile), pyhome); |
|
88 | _tcscpy_s(pydllfile, _countof(pydllfile), pyhome); | |
89 |
_tcscat_s(pydllfile, _countof(pydllfile), |
|
89 | _tcscat_s(pydllfile, _countof(pydllfile), | |
90 | _T(".dll")); |
|
90 | _T("\\") _T(HGPYTHONLIB) _T(".dll")); | |
91 | pydll = LoadLibrary(pydllfile); |
|
91 | pydll = LoadLibrary(pydllfile); | |
92 | if (pydll == NULL) { |
|
92 | if (pydll == NULL) { | |
93 |
err = "failed to load private Python DLL " HGPYTHONLIB |
|
93 | err = "failed to load private Python DLL " HGPYTHONLIB | |
|
94 | ".dll"; | |||
94 | goto bail; |
|
95 | goto bail; | |
95 | } |
|
96 | } | |
96 | Py_SetPythonHome = |
|
97 | Py_SetPythonHome = |
General Comments 0
You need to be logged in to leave comments.
Login now