openrazer-win32 icon indicating copy to clipboard operation
openrazer-win32 copied to clipboard

Unable to load DLL from the OpenRazerExampleDLL project

Open avengerx opened this issue 5 years ago • 1 comments

winprojectexampledll/main.cpp:247 always return null for some reason.

I have ensured the file exists (added the block below right before the load), and indeed, if I just run from VS it won't find the DLL file; I may run from command prompt or copy the DLL over the x64/Debug folder. The project's build also successfully runs.

As LoadLibrary() is a windows sdk function, I can't seem to be able to step thru and see why in heavens it returns null.

Any light? I'm trying to debug why OpenRGB always gets an hdev[0].dev->attr_count as zero when loading my (allegedly supported?) Razer DeathAdder V2 [vid:pid 1532:0084].

avengerx avatar Jan 28 '21 05:01 avengerx

Can confirm this is an issue. I See in #7 that this project might be dead? If so, could we get some documentation on that and what other solutions there might be?

jakawell avatar Jul 03 '21 17:07 jakawell