| 276 | } |
| 277 | |
| 278 | bool PluginLoader::buildSearchStringImprecPlugins() |
| 279 | { |
| 280 | wcscpy_s(dirSearchString, baseDirPath); |
| 281 | |
| 282 | wcscat_s(dirSearchString, PLUGIN_IMPREC_DIR); |
| 283 | |
| 284 | wcscpy_s(baseDirPath, dirSearchString); |
| 285 | |
| 286 | //build imprec wrapper dll path |
| 287 | wcscpy_s(imprecWrapperDllPath, dirSearchString); |
| 288 | wcscat_s(imprecWrapperDllPath, PLUGIN_IMPREC_WRAPPER_DLL); |
| 289 | |
| 290 | if (!fileExists(imprecWrapperDllPath)) |
| 291 | { |
| 292 | return false; |
| 293 | } |
| 294 | |
| 295 | wcscat_s(dirSearchString, PLUGIN_SEARCH_STRING); |
| 296 | |
| 297 | return true; |
| 298 | } |
| 299 | |
| 300 | bool PluginLoader::fileExists(const WCHAR * fileName) |
| 301 | { |
nothing calls this directly
no outgoing calls
no test coverage detected