Advertisement

04.01.2008 at 03:43PM PDT, ID: 23287567 | Points: 500
[x]
Attachment Details

Not able to compile test program 'WrapiTest.cpp'  provided by WRAPI

Tags: WRAPI - Microsoft, WRAPI - DDK, 2.0, not able to compile the test application, c:\winddk\3790.1830\inc\wxp\ntddndis.h(80) : error C2146: syntax error : missing ';' before identifier 'NDIS_OID', WLAN 802.11 signal strengths, WRAPI, DDK
I am trying to access the 802.11 driver to find the signal strengths of all access points in range. JWRAPI and WRAPI are the options I have to implement this. While I could not obtain the binary files for JWRAPI, I have not been able to get the WRAPI library work.

Basically I am not able to compile the test program (WrapiTest.cpp ) provided by the WRAPI (http://sysnet.ucsd.edu/pawn/wrapi/download.html).

Here are the steps I ve followed.

1. created a new project/workspace in visual c++ 6
2.Placed WRAPI.lib WRAPI.dll  and WrapiExports.h in the project folder
3.downloaded the Windows Server 2003 SP1 DDK (http://www.microsoft.com/whdc/devtools/ddk/default.mspx)
4.Included 'C:\WINDDK\3790.1830\INC\WXP' in the tools->options->Directories


When I try to compile WrapiTest.cpp , i get the foll error msg
"c:\winddk\3790.1830\inc\wxp\ntddndis.h(80) : error C2146: syntax error : missing ';' before identifier 'NDIS_OID'
c:\winddk\3790.1830\inc\wxp\ntddndis.h(80) : fatal error C1004: unexpected end of file found
Error executing cl.exe."


What is this error msg about, how can I solve this ?

In the thread http://www.experts-exchange.com/Programming/Handhelds_-_PDAs/802_11x_Dev/Q_21250950.html Opanza suggests that using SDK solves the problem. I dont know how an SDK is different from DDK and also which version of SDK to use(if at all using SDK instead of DDK will work )


Note: I had also tried steps 3 and 4 with the latest WDK(Windows Vista RTM       6000.16386.061101-2205 ), that did not help either

Thanks in advance
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: aiyemem
Question Asked On: 04.01.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
04.03.2008 at 08:49PM PDT, ID: 21278936

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.06.2008 at 01:21AM PDT, ID: 21291124

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628