mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 13:12:38 -06:00
Check loading of blacklisted dlls and show warning dialog at startup. Also show these dlls in sysinfo dialog.
This commit is contained in:
parent
4f161607c7
commit
fa2568a5e3
11 changed files with 172 additions and 5 deletions
|
|
@ -130,7 +130,7 @@ extern "C" {
|
|||
static HMODULE lib_handle = NULL;
|
||||
static BOOLEAN initialized = FALSE;
|
||||
#endif /* HIDAPI_USE_DDK */
|
||||
|
||||
|
||||
struct hid_device_ {
|
||||
HANDLE device_handle;
|
||||
BOOL blocking;
|
||||
|
|
@ -200,6 +200,7 @@ static void register_error(hid_device *dev, const char *op)
|
|||
}
|
||||
|
||||
#ifndef HIDAPI_USE_DDK
|
||||
|
||||
static int lookup_functions()
|
||||
{
|
||||
lib_handle = LoadLibraryA("hid.dll");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue