- // Note that the cast of EnumModulesProc is needed because the type of
- // PENUMLOADED_MODULES_CALLBACK changed: in old SDK versions its first
- // argument was non-const PSTR while now it's PCSTR. By explicitly
- // casting to whatever the currently used headers require we ensure
- // that the code compilers in any case.
- if ( !wxDbgHelpDLL::EnumerateLoadedModules