Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hiding application menu at runtime?? [modified] Pin
Selvam R9-Sep-09 19:21
professionalSelvam R9-Sep-09 19:21 
GeneralRe: Hiding application menu at runtime?? Pin
kilt10-Sep-09 6:30
kilt10-Sep-09 6:30 
GeneralRe: Hiding application menu at runtime?? Pin
David Crow14-Sep-09 3:51
David Crow14-Sep-09 3:51 
Questionmms Pin
viliam9-Sep-09 10:53
viliam9-Sep-09 10:53 
AnswerRe: mms Pin
Selvam R9-Sep-09 16:56
professionalSelvam R9-Sep-09 16:56 
QuestionPerforming Active scan with flush of old scanned data from the Wireless NIC - how ? Pin
amitalonm9-Sep-09 7:51
amitalonm9-Sep-09 7:51 
GeneralRe: Performing Active scan with flush of old scanned data from the Wireless NIC - how ? Pin
amitalonm9-Sep-09 20:46
amitalonm9-Sep-09 20:46 
GeneralThe relevant code part that I used is attached as well Pin
amitalonm9-Sep-09 20:58
amitalonm9-Sep-09 20:58 
NDIS_802_11_BSSID_LIST* m_pBSSIDList;
m_pBSSIDList = (NDIS_802_11_BSSID_LIST *) VirtualAlloc (NULL,
                                                        sizeof (NDIS_802_11_BSSID_LIST) * NUMBEROF_BSSIDS,
                                                        MEM_RESERVE | MEM_COMMIT,
                                                        PAGE_READWRITE) ;


memset (m_pBSSIDList, 0, sizeof (NDIS_802_11_BSSID_LIST) * NUMBEROF_BSSIDS);

oidcode = OID_802_11_BSSID_LIST_SCAN;

DeviceIoControl (m_handle,
		IOCTL_NDIS_QUERY_GLOBAL_STATS,
		&oidcode,
		sizeof(oidcode),
		(ULONG *) NULL,
		0,
		&bytesreturned,
		NULL);

Sleep (6100); // According to the documentation the result of the scan should be valid after 6 seconds.
// The original line was delay of 2000 mSec. find out why...
//Sleep (2000);

memset (m_pBSSIDList, 0, sizeof (NDIS_802_11_BSSID_LIST) * NUMBEROF_BSSIDS); // @@@ why is this required ???

oidcode = OID_802_11_BSSID_LIST;

if (DeviceIoControl(    m_handle,
			IOCTL_NDIS_QUERY_GLOBAL_STATS,
			&oidcode,
			sizeof( oidcode),
			( ULONG *) m_pBSSIDList,
			sizeof( NDIS_802_11_BSSID_LIST) * NUMBEROF_BSSIDS,
			&bytesreturned,
			NULL) == 0)
{
	// List failed
	return NULL;
}
else
{
	return m_pBSSIDList;
}

Questionhelp me to cut a CString to many pieces Pin
tucn879-Sep-09 6:53
tucn879-Sep-09 6:53 
AnswerRe: help me to cut a CString to many pieces Pin
CPallini9-Sep-09 7:04
mveCPallini9-Sep-09 7:04 
AnswerRe: help me to cut a CString to many pieces Pin
Maximilien9-Sep-09 7:21
Maximilien9-Sep-09 7:21 
AnswerRe: help me to cut a CString to many pieces Pin
Rajesh R Subramanian9-Sep-09 7:41
professionalRajesh R Subramanian9-Sep-09 7:41 
AnswerRe: help me to cut a CString to many pieces Pin
David Crow9-Sep-09 10:57
David Crow9-Sep-09 10:57 
AnswerRe: help me to cut a CString to many pieces Pin
Joe Woodbury9-Sep-09 13:03
professionalJoe Woodbury9-Sep-09 13:03 
QuestionFeeEnterView.obj : error LNK2019: unresolved external symbol "public: __thiscall ATL::CTime::CTime(void)" [modified] Pin
Vetukuri Raju9-Sep-09 4:55
Vetukuri Raju9-Sep-09 4:55 
QuestionAccessing files which are in JAR Pin
Azghar Hussain9-Sep-09 2:50
professionalAzghar Hussain9-Sep-09 2:50 
AnswerRe: Accessing files which are in JAR Pin
David Crow9-Sep-09 3:16
David Crow9-Sep-09 3:16 
QuestionRe: Accessing files which are in JAR Pin
CPallini9-Sep-09 3:20
mveCPallini9-Sep-09 3:20 
AnswerRe: Accessing files which are in JAR Pin
Michael Schubert9-Sep-09 21:20
Michael Schubert9-Sep-09 21:20 
QuestionVC++ Basic Threading - help Pin
GC1049-Sep-09 1:31
GC1049-Sep-09 1:31 
AnswerRe: VC++ Basic Threading - help Pin
CPallini9-Sep-09 1:59
mveCPallini9-Sep-09 1:59 
AnswerRe: VC++ Basic Threading - help Pin
Selvam R9-Sep-09 2:11
professionalSelvam R9-Sep-09 2:11 
AnswerRe: VC++ Basic Threading - help [Updated] Pin
Nuri Ismail9-Sep-09 2:28
Nuri Ismail9-Sep-09 2:28 
AnswerRe: VC++ Basic Threading - help Pin
GC1049-Sep-09 4:12
GC1049-Sep-09 4:12 
GeneralRe: VC++ Basic Threading - help Pin
Cedric Moonen9-Sep-09 4:20
Cedric Moonen9-Sep-09 4:20 

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.