I thought I'd just use the wpa_cli as guide to what I need in building a class.&nbsp; The class will end up being a COM component.<br><br>I'll take a look at what you&nbsp; are saying about the .h.<br><br>did you receive my msg about what is the correct sequence of command for connecting to one network profile, then disconnecting, then connecting to another?&nbsp; You asked me about sending you a console listing showing my unsuccessful attempts, but I'd rather just try exactly your prescribed order and follow your advice.
<br><br>I've only found the description of the available commands in the documentation, but now &quot;How to&quot; scenarios...<br><br>If not, I can resend that email to you to remind you.<br><br>thanks,<br><br>george<br>
<br><br><br><div><span class="gmail_quote">On 8/7/06, <b class="gmail_sendername">Jouni Malinen</b> &lt;<a href="mailto:jkmaline@cc.hut.fi">jkmaline@cc.hut.fi</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, Aug 05, 2006 at 11:40:58AM -0700, George S. Lockwood wrote:<br><br>&gt; Right now -today- I'm just trying to take the wpa_cli example and put it<br>&gt; into a class.&nbsp;&nbsp;I shouldn't be having trouble with that, but I am getting
<br>&gt; &quot;unresolved external&quot; errors apparently because I cannot link to the c-style<br>&gt; functions in common.c and oswin32.c modules.<br><br>What exactly are you trying to do? I don't understand why you would be
<br>creating a class from wpa_cli.. It is just a cli wrapper on top of using<br>the control interface commands directly. wpa_ctrl.c (and matching<br>wpa_ctrl.h) is designed to be included in control interface clients and<br>
this header file is even defining the needed extern &quot;C&quot; scope for C++<br>build to avoid issues with different symbol names between C and C++.<br><br>Use of wpa_ctrl.h functions and the available commands is described in
<br>developers' documentation:<br><br><a href="http://hostap.epitest.fi/wpa_supplicant/devel/ctrl_iface_page.html">http://hostap.epitest.fi/wpa_supplicant/devel/ctrl_iface_page.html</a><br><br>With the new named pipe -based implementation, some additional code is
<br>needed (take a look at wpa_cli_get_default_ifname() in wpa_cli.c for an<br>example).<br><br>--<br>Jouni Malinen&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PGP id EFC895FA<br>_______________________________________________
<br>HostAP mailing list<br><a href="mailto:HostAP@shmoo.com">HostAP@shmoo.com</a><br><a href="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</a><br></blockquote></div><br>