CalcProgrammer1 / openrazer-win32

Wrapper to build OpenRazer Linux driver as a Windows DLL
67 stars 9 forks source link

Unable to load DLL from the OpenRazerExampleDLL project #6

Open avengerx opened 3 years ago

avengerx commented 3 years ago

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

jakawell commented 3 years ago

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?