Hello everyone,<br><br>Anyone have trouble compiling and running a Release version wpa_supplicant for Windows??<br><br>I have been able to configure the Visual Studio 2005 project files to find openssl and wpdpack but to get it compile for a Release version, I had to add the preprocessor var: CONFIG_WIN32_DEFAULTS.&nbsp; 
<br><br>However, the compile exe is only 916k compared to the downloaded binary of ~1200k.<br><br><br>The Release version ends (see below), but the same code built for Debug results in a connection / authentication.<br><br>
so I believe my Release project settings are off.&nbsp; Could it be my libs? the code generation settings?&nbsp; the addtion of CONFIG_WIN32_DEFAULTS??<br><br><br>The trouble is it didn't compile &quot;out-of-the-box&quot;....<br><br>
<br>here's some console output from the debug run:<br><br>Debug finds 3 adaptors, Release only 2 !!!?????<br><br><br><span style="font-weight: bold;">07:40:05: NDIS<span style="font-style: italic;">: 3 </span>adapter names found
</span><br>07:40:05: NDIS: 3 adapter descriptions found<br>07:40:05: NDIS: 0 - \Device\NPF_GenericDialupAdapter - Adapter for generic dialup and VPN capture<br>07:40:05: NDIS: 1 - \Device\NPF_{201016AF-B1FE-4CFD-A410-CD2D3F264D07} - Broadcom NetXtreme Gigabit Ethernet Driver (Microsoft's Packet Schedul
<br>r)<br>07:40:05: NDIS: 2 - \Device\NPF_{556DEBC4-B686-4A77-A2D8-7F34F3A5708F} - Intel(R) PRO/Wireless 2200BG Network Connection (Microsoft's Packet Sc<br>eduler)<br>07:40:05: NDIS: Adapter description prefix 'Intel(R) PRO/Wireless 2200BG Network Connection'
<br><br><br><br><br>Here's the Release version's console output:<br><br>ifname: \Device\NPF_GenericDialupAdapter<br>description: Adapter for generic dialup and VPN capture<br><br>ifname: \Device\NPF_{556DEBC4-B686-4A77-A2D8-7F34F3A5708F}
<br>description: Intel(R) PRO/Wireless 2200BG Network Connection (Microsoft's Packet Scheduler)<br><br>ifname: \Device\NPF_{201016AF-B1FE-4CFD-A410-CD2D3F264D07}<br>description: Broadcom NetXtreme Gigabit Ethernet Driver (Microsoft's Packet Scheduler)
<br><br>Press any key to continue . . .<br>07:32:42: Initializing interface '\Device\NPF_{556DEBC4-B686-4A77-A2D8-7F34F3A5708F}' conf 'mango.conf.txt' driver 'default' ctrl_interface '<br>' bridge 'N/A'<br>07:32:42: Reading configuration file '
mango.conf.txt'<br>07:32:42: ap_scan=1<br>07:32:42: Line: 5 - start of a new network block<br>ssid - hexdump_ascii(len=5):<br>&nbsp;&nbsp;&nbsp;&nbsp; 6d 61 6e 67 6f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mango<br>07:32:42: scan_ssid=1 (0x1)<br>
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]<br>07:32:42: key_mgmt: 0x2<br>07:32:42: pairwise: 0x8<br>07:32:42: group: 0x8<br>PSK (from passphrase) - hexdump(len=32): [REMOVED]<br>07:32:43: Priority group 0<br>
07:32:43:&nbsp;&nbsp;&nbsp; id=0 ssid='mango'<br>07:32:43: Initializing interface (2) '\Device\NPF_{556DEBC4-B686-4A77-A2D8-7F34F3A5708F}'<br>07:32:43: EAPOL: SUPP_PAE entering state DISCONNECTED<br>07:32:43: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
<br>07:32:43: EAPOL: SUPP_BE entering state INITIALIZE<br>07:32:43: EAP: EAP entering state DISABLED<br>07:32:43: EAPOL: External notification - portEnabled=0<br>07:32:43: EAPOL: External notification - portValid=0<br>07:32:43: NDIS: 
Packet.dll version: 4, 0, 0, 374<br><span style="font-weight: bold;">07:32:43: NDIS: 2 adapter names found</span><br style="font-weight: bold;"><span style="font-weight: bold;">07:32:43: NDIS: 2 adapter descriptions found
</span><br style="font-weight: bold;"><span style="font-weight: bold;">07:32:43: NDIS: 0 - \Device\NPF_GenericDialupAdapter -</span><br style="font-weight: bold;"><span style="font-weight: bold;">07:32:43: NDIS: 1 - Adapter for generic dialup and VPN capture - dummy description
</span><br style="font-weight: bold;"><span style="font-weight: bold;">07:32:43: NDIS: Could not find interface '{556DEBC4-B686-4A77-A2D8-7F34F3A5708F}'</span><br>07:32:43: Failed to initialize driver interface<br>07:32:43: Failed to add interface \Device\NPF_{556DEBC4-B686-4A77-A2D8-7F34F3A5708F}
<br>07:32:43: 07:32:43: Cancelling scan request<br>