<div dir="ltr"><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""></span></p>
<p style="margin:0px;line-height:normal"><span style="font-family:arial,sans-serif;font-size:13px">Huh ... this isĀ </span>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 :)</p></div><div><span style=""><br></span></div><div><span style=""><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 27, 2016 at 2:22 AM, Marcus Meissner <span dir="ltr"><<a href="mailto:meissner@suse.de" target="_blank">meissner@suse.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Aug 26, 2016 at 09:29:46PM -0700, DavidL wrote:<br>
> I'm trying to add the ability to read registry keys to winejoystick.drv<br>
> using functions like RegQueryValueExA, RegOpenKeyA, and RegCloseKey.<br>
> However, I am getting linker errors where they are showing up as undefined<br>
> symbols. The changed files are attached. The<br>
> functions get_app_key, get_config_key, and device_disabled_registry are<br>
> copied from various files in dinput and I assumed I needed to import<br>
> advapi32 in the <a href="http://makefile.in" rel="noreferrer" target="_blank">makefile.in</a> since that's what type the aforementioned<br>
> registry functions are, but I'm obviously misunderstanding how this works.<br>
> Any help appreciated!<br>
<br>
</span>Yes, importing advapi32 should be correct.<br>
<br>
What exact commandlines are generated and what are the errors?<br>
<br>
Ciao, Marcus<br>
</blockquote></div><br></div>