Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

CONNMGR_CONNECTIONINFOÉèÖÃwapÁ¬½Ó

MapURLAndGUID(L"http://wap.163.com",application->guid);
CONNMGR_CONNECTIONINFO connection;
ZeroMemory(&connection, sizeof(connection)); 
connection.cbSize      = sizeof(connection);
connection.dwParams    = CONNMGR_PARAM_GUIDDESTNET;
connection.dwFlags    = CONNMGR_FLAG_PROXY_WAP;
connection.dwPriority  = CONNMGR_PRIORITY_USERINTERACTIVE;
connection.bExclusive  = FALSE; 
connection.bDisabled  = FALSE;
connection.guidDestNet = application->guid;
application->hConnection = NULL;
DWORD dwStatus = 0;
DWORD dwTimeout = 20000;
SetLastError(0);
DWORD lastError;
HRESULT hResults=ConnMgrEstablishConnectionSync(&connection, &application->hConnection, dwTimeout,&dwStatus);//Á¬½Óʧ°Ü?
»ñÈ¡getlastError·µ»ØµÄ´íÎóÊÇ183£¬ÈçºÎ½â¾öѽ£¿ÕâÑù½¨Á¢wapÁ¬½ÓÊÇÕýÈ·µÄÂð


//Ô¶³ÌURLÓ³ÉäµÄ·½Ê½À´ÈÃϵͳ×Ô¶¯Ñ¡È¡Ò»¸ö×îºÃµÄÁ¬½Ó¡£
int BaseRequest::MapURLAndGUID(LPCTSTR lpszURL,OUT GUID &guidNetworkObject)
{
CONNMGR_DESTINATION_INFO DestInfo = {0};
if ( !lpszURL || lstrlen(lpszURL) < 1 )
return FALSE;
memset( &guidNetworkObject,0,sizeof(GUID));
int nIndex = 0;
HRESULT hResult = ConnMgrMapURL(lpszURL,&guidNetworkObject,(DWORD*)&nIndex);
if (FAILED(hResult))


Ïà¹ØÎÊ´ð£º

wapͼƬÉÏ´«³ÌÐò ¼±¼±¼±£¡£¡£¡

֮ǰ×öÁ˸öÆÕͨµÄwebÉÏ´«Í¼Æ¬Ó¦ÓóÌÐòÓÃÁËfileupload£¬image£¬button3¸ö¿Ø¼þ£¬µ«ÔÚÊÖ»úÀïÑ¡ÔñÁËͼƬÎÞ·¨ä¯ÀÀ£¬Ò²²»ÄÜÉÏ´«ÁË£¬ËùÒÔÕÒÁ˵ã×ÊÁÏ£¬ÏëÔÚÒÆ¶¯webÀï×ö¸öÀàËÆµÄ³ÌÐò£¬¿ÉÄÜÄܽâ¾öͼƬ²»ÄÜä¯ÀÀµÄÎÊÌ⣬µ«ÏÖÔÚÏÖ ......

WAP¿ª·¢ÔõôÉèÖÃÊ×Ò³°¡£¿

ÇëÎÊ£º
WAP¿ª·¢ÔõôÉèÖÃÊ×Ò³°¡£¿ÎÒ¿ª·¢Á½¸ö£¬Ò»¸öÊÇWAP1.1,Áí¸öÊÇWap2.0µÄ£¬Ïë»Ø¸öÉèΪÊ×Ò³µÄÁ´½Ó¡£¿ª·¢»·¾³Îª vs 2008,.net framework 2.0.
ÊÇä¯ÀÀÆ÷µÄ¹¦ÄܰÉ

ÓÐÈËÖªµÀÂð£¿

¸ãWAP£¬»¹²»ÈçÑо¿ÏÂÕâ¸öhttp: ......

¹ØÓÚwapʵÏÖÔÚÏßÊÓÆµµÄ¼¼Êõ

Çë½Ì¸ßÊÖÈçºÎʵÏÖµÄ
ÕÒgoogle

¶¥Æð¡£¡£¡£¹ØÓÚrtspЭÒéµÄÓ¦ÓÃË­Á˽⡣¡£¡£Âé·³´ó¸Å˵ÏÂ

Õâ¸ö¶«Î÷ºÜºÃѽ£¡

ÎÒÒ²²»Ã÷°×£¬È¥²é²é¿´

dddddddddddddddddddddddddddddddd

UPÓÑÇéUP

wapÊÓÆµ¡£¡£¡£Âé· ......

wapµ÷brew brewµ÷wap

Çó½ÌÏ£¬SP×öµÄbrewÓ¦ÓÃÄÜ·ñÔÚÓ¦ÓÃÀïÃæµ÷ÓÃÊÖ»ú±¾ÉíµÄä¯ÀÀÆ÷
Èç¹ûÄܵϰ£¬Çë½ÌÏÂÓ¦¸ÃÔõô×ö£¿
·´¹ýÀ´ÄØ£¿

¿É²Î¼û
http://blog.csdn.net/wireless_com/archive/2009/12/09/4971653.aspx


ÒýÓÃ
¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ