PC Review


Reply
Thread Tools Rate Thread

Bluetooth Programming

 
 
Ben Voigt [C++ MVP]
Guest
Posts: n/a
 
      20th Apr 2009


"David Lowndes" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>>Actually i faced a similar problem before.
>>the header file was a c header file and that implementation file was a cpp
>>file.
>>The definitions of certain functions defined in the header file were not
>>getting recognized the cpp file although i had alreday included that
>>header.
>>The problem was solved by changing the project settings -> C/C++ Tab ->
>>Precompiled headers -> Not using precompiled heeaders

>
> I'm glad things are working ok now, but your diagnosis of the issue is
> wrong - precompiled headers is nothing to do with C headers and C++
> sources.


Well... you can't share a precompiled header between C and C++ compile
units. At least not if you want __cplusplus to be defined correctly.

>
> Dave


 
Reply With Quote
 
 
 
 
New Member
Join Date: Feb 2010
Posts: 1
 
      22nd Feb 2010
hello please any body can send how to transfer a file between to blutooth enabled devices in windows xp environment in c/c++ programming my emial id is (E-Mail Removed)
 
Reply With Quote
 
New Member
Join Date: Feb 2011
Posts: 1
 
      28th Feb 2011
#include "Bluetoothapis.h"
#include <windows.h>
#include <Ws2bth.h>
#include "stdafx.h"
#include <conio.h>


#pragma comment(lib, "irprops.lib")
#pragma comment(lib, "ws2_32.lib")
#pragma comment(lib, "Bthprops.lib")
int _tmain(int argc, _TCHAR* argv[])
{
BLUETOOTH_DEVICE_SEARCH_PARAMS BluetoothSearchParams ;


return 0;
}

error C2065: 'BLUETOOTH_DEVICE_SEARCH_PARAMS' : undeclared identifier
error C2146: syntax error : missing ';' before identifier 'BluetoothSearchParams'
error C2065: 'BluetoothSearchParams' : undeclared identifier

i am getting this ,errors can some one help me out??
 
Reply With Quote
 
Banned
Join Date: May 2011
Posts: 1
 
      14th May 2011
Can I use this code in my mobile to change the speed.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth programming Deepika Microsoft Outlook Form Programming 1 14th Apr 2009 01:22 PM
Bluetooth programming ? Z.K. Microsoft VC .NET 1 5th Mar 2008 02:44 PM
Bluetooth programming Armon Myrick Microsoft Dot NET Compact Framework 1 22nd Dec 2003 08:24 AM
C# Bluetooth API programming pei_world Microsoft C# .NET 0 4th Dec 2003 12:14 AM
C# Bluetooth API programming pei_world Windows XP General 0 3rd Dec 2003 03:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:38 AM.