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].
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?
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].