Huh ... this isĀ embarrassing, although pleasantly so: it just compiled and linked - I don't know why, I don't think I made any changes - but it works now. I will investigate a little bit further to see if the why is interesting and report what I might've done if so ... probably something stupid :)
On Fri, Aug 26, 2016 at 09:29:46PM -0700, DavidL wrote:
> I'm trying to add the ability to read registry keys to winejoystick.drv
> using functions like RegQueryValueExA, RegOpenKeyA, and RegCloseKey.
> However, I am getting linker errors where they are showing up as undefined
> symbols. The changed files are attached. The
> functions get_app_key, get_config_key, and device_disabled_registry are
> copied from various files in dinput and I assumed I needed to import
> advapi32 in the makefile.in since that's what type the aforementioned
> registry functions are, but I'm obviously misunderstanding how this works.
> Any help appreciated!
Yes, importing advapi32 should be correct.
What exact commandlines are generated and what are the errors?
Ciao, Marcus