@Bombadill: "I'm having problem changing to other alternat:
my code:
void Get()
{	unsigned char ucAlternate= 0;
	DWORD dwFlag= USB_NO_WAIT;
	if(g_lpUsbFuncs) 
  g_lpUsbFuncs->lpGetInterface(g_hDevice,NULL,0,dwFlag,0x00,&ucAlternate);
	WCHAR szAlternat[MAX_PATH]= L"";
	_itow(ucAlternate,szAlternat,10);
	888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MessageBox(NULL,szAlternat,L"",MB_OK);
}
void Set()
{
	unsigned char ucAlternate= 8;
	DWORD dwFlag= USB_NO_WAIT;
	if(g_lpUsbFuncs) {
		USB_TRANSFER hTransfer= 
g_lpUsbFuncs->lpSetInterface(g_hDevice,NULL,0,dwFlag,0x00,ucAlternate);
		if(hTransfer)
			888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MessageBox(NULL,L"SetAlternate 8",L"",MB_OK);
		888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MessageBox(NULL,L"failed setting interface",L"",MB_OK);
	}
what can be the problem ?
I'm calling Set and then Get, What can cause the Get show the alternat 0 
instead of 8 ???
thanks,
tom,."
    @voidcoder: "As far as you set USB_NO_WAIT flag, you dont have any
indication when the operation actually finishes.Try to use
synchronous operations, ie. set dwFlag=0.
"Bombadill" <email_address> wrote in message 
news:<email_address>
<quote>"
{'source': 'USENET', 'other_information': '{"reply_count": 1, "forum_name": "microsoft.public.windowsce.embedded.vc.20140703.mbox"}', 'file': 'data/output/usenet-microsoft.public.parquet'}