> Hi Lukasz
> I received a Visual C++ 6.0 for free from Microsoft when I passed a
> certification exams in 1999...
> Where you can get it for free I don't know, sorry.
> For your particular problem you can use VC 2005 to build bluecove.dll for
> widcomm but it would require the Microsoft runtime libraries installed on
> computer to run...
> As to why windows.h now found. Try to open Microsoft GUI and configure it
> to build the project using gui mode. There are some dialogs where you should
> add the path to Microsoft SDK. It is part of SDK installation instruction I
> think..
> If you run build-native-intelbth.cmd
> Then message "Some Supported SDK not found" is about IVT
> Corporation\BlueSoleil\api
> build-native-intelbth.cmd does not build blucove.dll for widcomm library.
> it only builds intelbth.dll for ms stack.
> The best I can offer for you is to open VC2005 switch project target to
> widcomm win32 and build from gui.
> Regards,
> Vlad
> On 4/18/08, Lukasz Radziwonowicz <lukasz.radziwonow...@gmail.com> wrote:
> > Hi,
> > My goal is to write an application, similar to BlueProximity
> >http://blueproximity.sourceforge.net/index.html, but using Windows XP
> > and Widcomm stack.
> > "This software helps you add a little more security to your desktop.
> > It does so by detecting one of your bluetooth devices, most likely
> > your mobile phone, and keeping track of its distance. If you move away
> > from your computer and the distance is above a certain level (no
> > measurement in meters is possible) for a given time, it automatically
> > locks your desktop (or starts any other shell command you want)."
> > I'm familiar with Java and Eclipse, but I'm newbie in bluetooth and C+
> > + world and that is why I need help. I've found that with Widcomm
> > bluetooth stack we can get the RSSI value for given connection (see
> > GetConnectionStats in "Bluetooth for Windows. DK API Reference
> > Guide."). That was good start :)
> > I've downloaded following applications:
> > 1. Apache Maven 2.0 -http://maven.apache.org/download.html
> > 2. Visual C++ 2005 Express Edition -
> >http://msdn2.microsoft.com/en-us/express/aa975050.aspx
> > 3. Windows SDK Update for Windows Vista and .NET Framework 3.0 -
> >http://www.microsoft.com/downloads/details.aspx?familyid=4377F86D-C91...
> > 4. Broadcom BTW Development Kit for Windows PC -
> >http://www.broadcom.com/products/bluetooth_sdk.php
> > First questions, do I need also Visual C++ 6.0? Can I get it for free?
> > Where?
> > Second step - configuration:
> > 1. Download bluecove from SVN
> > 2. Prepare eclipse project: mvn eclipse:clean eclipse:eclipse -
> > DdownloadSources=true
> > 3. In VC2005: Tools -> Options -> VC++ Directories ->
> > "Include files" %ProgramFiles%\Microsoft SDKs\Windows
> > \v6.0\Include
> > "Library files" %ProgramFiles%\Microsoft SDKs\Windows\v6.0\lib
> > 4. Is that all?
> > It is not working. If I try to execute build-native-intelbth.cmd I get
> > error. First:
> > "Starting build at 19:28:20.85, Fri 04/18/2008
> > Found Visual Studio C:\Program Files\Microsoft Visual Studio 8\VC\bin
> > [C:\Program Files\Microsoft Visual Studio 8\VC\bin\VCVARS32.BAT]
> > c:\lukasz\eclipse\workspace\BlueCove>call "C:\Program Files\Microsoft
> > Visual Studio 8\VC\bin\VCVARS32.BAT"
> > c:\lukasz\eclipse\workspace\BlueCove>"C:\Program Files\Microsoft
> > Visual Studio 8\Common7\Tools\vsvars32.bat"
> > Setting environment for using Microsoft Visual Studio 2005 x86 tools.
> > Microsoft SDKs Found [C:\Program Files\Microsoft SDKs\Windows\v6.0]
> > WARNING: Some Supported SDK not found!"
> > and then:
> > "Compiling...
> > WIDCOMMStackL2CAP.cpp
> > c:\lukasz\eclipse\workspace\bluecove\src\main\c\intelbth
> > \common.h(94) : fatal error C1083: Cannot open include file:
> > 'windows.h': No such file or directory"
> > The file is of course in "%ProgramFiles%\Microsoft SDKs\Windows
> > \v6.0\Include" directory. This is propably problem with paths, but I
> > don't know how to solve it. Any advices or tips?
> > I understand, that the next step is to add my methods to C++ and java
> > files (propably: WIDOMMStack*.cpp, WIDOMMStack*.h,
> > com_intel_bluetooth_BluetoothStackWIDCOMM.h and
> > BluetoothStackWIDCOMM.java) Am I on the right path?
> > Thanks for help.
> > Cheers
> > Lukasz
> --
> Vlad