Re: Wireless in c++



Compiling...

............\wlanapi.h(26) : fatal error C1083: Cannot open include file:
'l2cmn.h': No such file or directory

what is 'l2cmn.h'?

related to this code:

typedef ULONG NDIS_OID, *PNDIS_OID;

there is this error:

WRapi_dll_import.cpp
............\ntddndis.h(79) : error C2146: syntax error : missing ';' before
identifier 'NDIS_OID'
............\ntddndis.h(79) : fatal error C1004: unexpected end of file found


related to this code:

//
// Structure used to define a self-contained variable data structure
//
typedef struct _NDIS_VAR_DATA_DESC
{
USHORT Length; // # of octects of data
USHORT MaximumLength; // # of octects available
ULONG_PTR Offset; // Offset of data relative to the descriptor
} NDIS_VAR_DATA_DESC, *PNDIS_VAR_DATA_DESC;

there is this error:

............\ntddndis.h(101) : error C2146: syntax error : missing ';' before
identifier 'Offset'
............\ntddndis.h(101) : error C2501: 'ULONG_PTR' : missing
storage-class or type specifiers
............\ntddndis.h(101) : error C2501: 'Offset' : missing storage-class
or type specifiers
............\wrapi.h(61) : fatal error C1083: Cannot open include file:
'nuiouser.h': No such file or directory


etc....

Error executing cl.exe.

this errors code are related to the ntddndis.h file:

I use VC++ 6. Don't tell me that is impossible to compile wireless software
with VC++ 6.



"Arkady Frenkel" wrote:

You need to show which kind of the errors you have during compilation for
gurus to help
Arkady

"Milkas" <Milkas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:40B2FB18-9CD5-4832-810E-FA11D3B8698A@xxxxxxxxxxxxxxxx
In the near post named "wireless on /off control" has been discussed how
to
enable or disable wireless using Vista and its SDK. I've XP SP2 and I've
downloaded all the SDK possibles for wireless managment. In the microsoft
article about "Native Wi-FI" is described how to implement the SDK
functions
but without any example :-( and is very hard to use that SDK becouse if I
try
to compile the "wlanapi.h" header I've a lot of errors. Do you know others
ways, if possible using basic C++ language, to manage wireless connection
or
if Is possible to use wlanapi.dll and wlanapi.lib with no problems? Any
help or example is appreciate



.



Relevant Pages

  • Re: Recommendation of Development Tools for Wireless and Barcode Scanning
    ... wireless RF capability that a basic PPT-2800 doesn't have. ... That means the installer for any app using CF must make sure CF is ... We have already had a barcode scanning ... using the SDK will let ...
    (microsoft.public.pocketpc)
  • Re: Recommendation of Development Tools for Wireless and Barcode Scanning
    ... wireless RF capability that a basic PPT-2800 doesn't have. ... That means the installer for any app using CF must make sure CF is ... We have already had a barcode scanning ... using the SDK will let ...
    (microsoft.public.pocketpc)
  • Re: Wireless in c++
    ... "Arkady Frenkel" wrote: ... Don't tell me that is impossible to compile wireless ... downloaded all the SDK possibles for wireless managment. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Wireless in c++
    ... Don't tell me that is impossible to compile wireless ... "Arkady Frenkel" wrote: ... downloaded all the SDK possibles for wireless managment. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Standard SDK for WinCE 6.0
    ... Is there any Standard SDK for Wince 6.0 as there was in WinCE 5.0? ... identifier not found ...
    (microsoft.public.pocketpc)