Running Dependency Walker for my 32-bit dll shows that I require wlanapi.dll (x86) which was missing from my Microsoft Server 2008 R2 machine. The following post mentions that Wireless LAN service needs to be installed http://geekswithblogs.net/dlussier/archive/2008/06/02/122558.aspx
I did so, but it installed only the x64 version. Any idea how I can get the x86 version ?