Click here to Skip to main content
15,914,071 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAdvanced visual studio C++ debugging? Pin
MeNot1-Sep-08 3:46
MeNot1-Sep-08 3:46 
QuestionRe: Advanced visual studio C++ debugging? Pin
Mark Salsbery1-Sep-08 11:37
Mark Salsbery1-Sep-08 11:37 
AnswerRe: Advanced visual studio C++ debugging? Pin
Rostfrei1-Sep-08 23:25
Rostfrei1-Sep-08 23:25 
QuestionRe: Advanced visual studio C++ debugging? Pin
Mark Salsbery2-Sep-08 6:52
Mark Salsbery2-Sep-08 6:52 
QuestionCoClass name issues Pin
George_George1-Sep-08 3:03
George_George1-Sep-08 3:03 
QuestionHow to get length of a pointer byte array and how to add elements at the end of pointer byte array? Pin
kapardhi1-Sep-08 2:53
kapardhi1-Sep-08 2:53 
AnswerRe: How to get length of a pointer byte array and how to add elements at the end of pointer byte array? Pin
Roger Stoltz1-Sep-08 3:49
Roger Stoltz1-Sep-08 3:49 
Questionproblem in linking bluetooth related header files in VC++ Pin
manju23reddy1-Sep-08 2:37
manju23reddy1-Sep-08 2:37 
hi i have written the bellow code to search the bluetooth device.

<code>
#include <windows.h>
#include <stdio.h>
#include <bthdef.h>
#include <bthsdpdef.h>
#include <BluetoothAPIs.h>
int main()
{
BLUETOOTH_DEVICE_SEARCH_PARAMS BluetoothSearchParams;
BLUETOOTH_DEVICE_INFO BluetoothDeviceInfo;
HBLUETOOTH_DEVICE_FIND hBluetoothDevice;
ZeroMemory(&BluetoothSearchParams, sizeof(BluetoothSearchParams));
ZeroMemory(&BluetoothDeviceInfo, sizeof(BluetoothDeviceInfo));
BluetoothSearchParams.dwSize = sizeof(BLUETOOTH_DEVICE_SEARCH_PARAMS);
BluetoothSearchParams.fReturnAuthenticated= true;
BluetoothSearchParams.fReturnRemembered = true;
BluetoothSearchParams.fReturnUnknown = true;
BluetoothSearchParams.fReturnConnected = true;
BluetoothSearchParams.fIssueInquiry = true;
BluetoothSearchParams.cTimeoutMultiplier = 15;
BluetoothSearchParams.hRadio = NULL;
BluetoothDeviceInfo.dwSize = sizeof(BluetoothDeviceInfo);
hBluetoothDevice = BluetoothFindFirstDevice(&BluetoothSearchParams,
&BluetoothDeviceInfo);
if (hBluetoothDevice != NULL)
{
while (true)
{
wprintf(L"Found a Bluetooth device!\n");
if (BluetoothFindNextDevice(hBluetoothDevice,
&BluetoothDeviceInfo) == false)
{
break;
}
}
}
else
{
wprintf(L"Unable to find a Bluetooth device.\n");
}
return 0;
}


</code>
i have created new win32console project and written the above file i have sdk installed but while compiling it shows that files like bthdef.h & BluetoothAPIs.h & bthsdpdef.h not found....

how to set the project properties so that i can link the files form my sdk folder...
QuestionRe: problem in linking bluetooth related header files in VC++ Pin
_AnsHUMAN_ 1-Sep-08 2:44
_AnsHUMAN_ 1-Sep-08 2:44 
AnswerRe: problem in linking bluetooth related header files in VC++ Pin
manju23reddy1-Sep-08 3:21
manju23reddy1-Sep-08 3:21 
AnswerRe: problem in linking bluetooth related header files in VC++ Pin
David Crow1-Sep-08 4:02
David Crow1-Sep-08 4:02 
QuestionRe: problem in linking bluetooth related header files in VC++ Pin
David Crow1-Sep-08 4:07
David Crow1-Sep-08 4:07 
QuestionStatic variable in dll Pin
The NULL Developer1-Sep-08 1:55
professionalThe NULL Developer1-Sep-08 1:55 
AnswerRe: Static variable in dll Pin
Perspx1-Sep-08 2:05
Perspx1-Sep-08 2:05 
GeneralRe: Static variable in dll Pin
The NULL Developer1-Sep-08 2:09
professionalThe NULL Developer1-Sep-08 2:09 
AnswerRe: Static variable in dll Pin
Cedric Moonen1-Sep-08 2:19
Cedric Moonen1-Sep-08 2:19 
GeneralRe: Static variable in dll Pin
The NULL Developer1-Sep-08 3:04
professionalThe NULL Developer1-Sep-08 3:04 
GeneralRe: Static variable in dll Pin
Cedric Moonen1-Sep-08 3:22
Cedric Moonen1-Sep-08 3:22 
QuestionLNK2001: Pin
T.RATHA KRISHNAN1-Sep-08 1:41
T.RATHA KRISHNAN1-Sep-08 1:41 
AnswerRe: LNK2001: Pin
Prasann Mayekar1-Sep-08 2:08
Prasann Mayekar1-Sep-08 2:08 
QuestionRe: LNK2001: Pin
T.RATHA KRISHNAN1-Sep-08 2:13
T.RATHA KRISHNAN1-Sep-08 2:13 
AnswerRe: LNK2001: Pin
Prasann Mayekar1-Sep-08 2:17
Prasann Mayekar1-Sep-08 2:17 
GeneralRe: LNK2001: Pin
Prasann Mayekar1-Sep-08 2:19
Prasann Mayekar1-Sep-08 2:19 
GeneralRe: LNK2001: Pin
T.RATHA KRISHNAN1-Sep-08 2:19
T.RATHA KRISHNAN1-Sep-08 2:19 
AnswerRe: LNK2001: Pin
Cedric Moonen1-Sep-08 2:26
Cedric Moonen1-Sep-08 2:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.