Can YOU post the whole code how to get the wireless signal strength, thanks
Falconi Silvio
Can YOU post the whole code how to get the wireless signal strength, thanks

Otto,
Yes, in fact we don't need to convert it. We can mix C and C++ code in Harbour and FWPPC ![]()
We simply need to build the OBJ from WifiPeek.cpp and then create some C functions to manage the class from Harbour
I may review it this next week ![]()
#include "WifiPeek.h"
extern "C"
{
#include <hbapi.h>
};
HB_FUNC( CWIFIPEEK )
{
hb_retnl( ( LONG ) new CWifiPeek );
}Hello Antonio,
this solution is working but if there is no network you get for a very long time a frozen systembefore an error is returned.
Many useres press the reset button because they think the system is gone down.
Maybe there is a better solution?
Thanks in advance
Otto
If you mean local network, then you may check for a file existence:
if File( "\\machine\path\filename" )
Otto,
Have you modified my wifi.cpp little example source code ?
That code I provided is just the starting point. Now more functions should be added to make it work.
Hello Antonio,
I don’t know how to do it.
I was searching the forum for EXTERN “C” and found 2 or 3 examples.
I will try to understand these.
Best regards,
Otto
Otto,
First of all we have to compile WifiPeek.cpp:
c:\vce\bin\CLARM.EXE -c -Ic:\vce\include\arm -DARM -DUNICODE WifiPeek.cpp
I am getting some compile errors here that we need to solve.
Otto,
This way compiled perfectly:
c:\vce\bin\CLARM.EXE -c -Ic:\vce\include\arm -DARM -DUNICODE -DUNDER_CE WifiPeek.cpp
But I wonder if it may work fine for Windows Mobile, as -DUNDER_CE means for Windows CE.
Next we will build a small test so we can check if it properly links.
Hello Antonio,
I downloaded the code from:
// Coded by dzolee
// http://dzolee.blogspot.com
I think this is his latest version.
I compiled this version with VS2005 and on my HTC (mobile 6.1)
it is working but on a symbol mobile 2003 Second Edition I only see the adapter but no AP’s.
Best regards,
Otto
Otto,
> symbol mobile 2003 Second Edition
Maybe that Windows Mobile version is too old to support that code.
Antonio, Otto
any solution for wifi signal ?
I must use this msginfo because I use the fwppc application far from Sea chalet and I wish link to pc's dbfs
the user must see the signal and open the application when the signal is on 80 %