mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
check for libpandaexpress_d.dll in memory for a debug build
This commit is contained in:
parent
c40c265a8a
commit
cec4620edb
@ -156,7 +156,9 @@ run_python() {
|
||||
|
||||
#ifdef _WIN32
|
||||
// Of course it's already resident, so use that version.
|
||||
HMODULE h = GetModuleHandle("libpandaexpress.dll");
|
||||
string basename = Filename::dso_filename("libpandaexpress.so").to_os_specific();
|
||||
HMODULE h = GetModuleHandle(basename.c_str());
|
||||
|
||||
if (h == NULL) {
|
||||
nout << "Can't find libpandaexpress in memory.\n";
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user