VS2005 Windows Project / Solution with VS2005 (not qt or mingw)

George S. Lockwood gslockwood
Mon Aug 7 21:24:35 PDT 2006

I thought I'd just use the wpa_cli as guide to what I need in building a
class.  The class will end up being a COM component.

I'll take a look at what you  are saying about the .h.

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?  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.

I've only found the description of the available commands in the
documentation, but now "How to" scenarios...

If not, I can resend that email to you to remind you.



On 8/7/06, Jouni Malinen <jkmaline at cc.hut.fi> wrote:
> On Sat, Aug 05, 2006 at 11:40:58AM -0700, George S. Lockwood wrote:
> > Right now -today- I'm just trying to take the wpa_cli example and put it
> > into a class.  I shouldn't be having trouble with that, but I am getting
> > "unresolved external" errors apparently because I cannot link to the
> c-style
> > functions in common.c and oswin32.c modules.
> What exactly are you trying to do? I don't understand why you would be
> creating a class from wpa_cli.. It is just a cli wrapper on top of using
> the control interface commands directly. wpa_ctrl.c (and matching
> wpa_ctrl.h) is designed to be included in control interface clients and
> this header file is even defining the needed extern "C" scope for C++
> build to avoid issues with different symbol names between C and C++.
> Use of wpa_ctrl.h functions and the available commands is described in
> developers' documentation:
> http://hostap.epitest.fi/wpa_supplicant/devel/ctrl_iface_page.html
> With the new named pipe -based implementation, some additional code is
> needed (take a look at wpa_cli_get_default_ifname() in wpa_cli.c for an
> example).
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060807/b5e914a4/attachment.htm 

More information about the Hostap mailing list