WhatsApp网页版扫描登录
liuweilizz 串行接口,简称串口,也就是COM接口,是采用串行通信协议的扩展接口。串口的出现是在1980年前后,数据传输率是115kbps~230kbps,串口一般用来连接鼠标和外置Modem以及老式摄像头和写字板等设备,目前部分新主板已开始取消该接口。 lida19941127 现在的主板只有一个串口(9针),一个并口(25针),通常主板上有标识,需要仔细看,
COM2,COM3,COM4需要的话,才会内配, dsmdzxnwrikf 这个简单。 你只要帮它启用。 然后就问题大了。你什么鸟东西还用到COM口的? 现在一般都是串行借口USB了。 一般很难找到COM接口的设备了。 你得先告诉我你要用什么东西去接COM口 a764240879 应该 是 cmos 里 被 禁用 了
去 cmos 里 启用 吧
祝你顺利 vwkwrijszb COM口坏了 klcalj void EnumSerialPorts(CArray<SSerInfo,SSerInfo&> &asi, BOOL bIgnoreBusyPorts){ asi.RemoveAll(); OSVERSIONINFO vi; vi.dwOSVersionInfoSize = sizeof(vi); if (!::GetVersionEx(&vi)) { CString str; str.Format(_T("Could not whatsapp网页版怎么用get OS version. (err=%lx)"), GetLastError()); throw swhatsapp移动网络连不上tr; } if (vi.dwMajorVersion < 5) { if (vi.dwPlatformId == VER_PLATFORM_WIN32_NT)EnumPortsWNt4(asi); elseEnumPortsW9x(asi); } else { EnumPortsWdm(asi); } for (int ii = 0; ii < asi.GetSize(); ii ++) { SSerInfo& rsi = asi[ii]; if (bIgnoreBusyPorts) {HANDLE hCom = CreateFile(rsi.strDevPath, GENERIC_READ | GENERIC_WRITE,0, NULL, OPEN_EXISTING, 0, NULL);if (hCom == INVALID_HANDLE_VALUE){asi.RemoveAt(ii);ii --;continue;}else{::CloseHandle(hCom);} } i安卓版whatsapp免费下载百度f (rsi.strFriendlyName.IsEmpty())rsi.strFriendlyName = rsi.strPortNawhatsapp 商业版下载me; if (rsi.strPortDesc.IsEmpty()) {rsi.strPortDesc = rsi.strFriendlyName;int startdex = rsi.strPortDesc.Find(_T(" ("));int enddex = rsi.strPortDesc.Find(_T(")"));if (startdex > 0 && enddex == (rsi.strPortDesc.GetLength() - 1))rsi.strPortDesc = rsi.strPortDesc.Left(startdex); } }}void EnumPortsWdm(CArray<SSerInfo,SSerInfo&> &asi){ CString strErr; GUID * guidDev = (GUID*) &GUID_CLASS_COMPORT; HDEVINFO hDevInfo = INVALID_HANDLE_VALUE; SP_DEVICE_INTERFACE_DETAIL_DATA * pDetData = NULL; try { hDevInfo = SetupDiGetClassDevs( guidDev, NULL, NULL,DIGCF_PRESENT | DIGCF_DEVICEINTERFACE); if (hDevInfo == INVALID_HANDLE_VALUE){strErr.Format(_T("SetupDiGetClassDevs whatsapp对方把我删除failed. (err=%lx)"), GetLastError());throw strErr; } BOOL bOk = TRUE; SPwhatsapp网页版邮件地址_DEVICE_INTER高端的whatsapp网页版群发FACE_DATA ifcData; DWORD dwDetDataSize = sizeof(SP_DEVICE_INTERFACE_DETAIL_DATA) + 256; pDetData = (SP_DEVICE_INTERFACE_DETAIL_DATA*) new char[dwDetDataSize]; ifcData.cbSiwhatsapp网页版怎么给好友备注ze = sizeof(SP_DEVICE_INTERFACE_DATA); pDetData->cbSize = sizeof(SP_DEVICE_INTERFACE_DETAIL_DATA); for (DWORD ii = 0; bOk; ii ++) {bOk = SetupDiEnumDeviceInterfaces(hDevInfo, NULL, guidDev, ii, &ifcData);if (bOk){SP_DEVINFO_DATA devdata = {sizeof(SP_DEVINFO_DATA)};bOk = SetupDiGetDeviceInterfaceDetail(hDevInfo, &ifcData, pDetwhatsapp网页版最新下载网址Data, dwDetDataSize, NULL, &devdata);if (bOk){ CString strDevPath(pDetData->DevicePath); 小米手机whatsapp网页版用不了TCHAR fnamewhatsapp网页版电话加不上好友[256]; TCHAR desc[256]; BOOL bSuccess = SetupDiGetDeviceRegistryProperty(hDevInfo, &devdata,SPDRP_FRIENDLYNAME, NULL, (PBYTE)fname, sizeof(fname), NULL); bSuccess = bSuccess && SetupDiGetDeviceRegistryProperty(hDevInfo,&devdata, SPDRP_DEVICEDESC, NULL, (PBYTE)desc, sizeof(desc), NULL); BOOL bUsbDevice = FALSE; TCHAR locinfo[256]; if (SetupDiGetDeviceRegistryProperty(hDevInfo, &devdata,SPDRP_LOCATION_INFORMATION, NULL, (PBYTE)locinfo, sizeof(locinfo), NULL)) { bUsbDevice = (wcsncmp(locinfo, _T("USB"), 3) == 0); } if (bSuccess) { SSerInfo si; si.strDevPath = strDevPath; si.strFriendlyName = fname; si.strPortDesc = desc; si.bUsbDevice = bUsbDevice; asi.Add(si); }}else{ strErr.Format(_T("SetupDiGetDeviceInterfaceDetail failed. (err=%lx)"),GetLastError()); throw strErr;}}else{DWORD err = GetLastError();if (err != ERROR_NO_MORE_ITEMS){ strErr.Format(_T("SetupDiEnumDeviceInterfaces failed. (err=%lx)"), err); throw strErr;}} } } catch (CString strCatchErr) { strErr = strCatchErr; } if (pDetData != NULL) delete [] (char*)pDetData; if (hDevInfo != INVALI苹果whatsapp网页版怎样加好友D_H在whatsapp上如何添加外国好友ANDLE_VALUE) SetupDiDestroyDeviceInfoList(hDevInfo); if (!strErr.IsEmpty()) throwhatsapp官方网页版w strErr;}void EnumPortsWNt4(CArray<SSerInfo,SSerInfo&> &asi){ SSerInfo si; for (int ii = 1; ii <= 16; ii ++) { CString strPort; strPort.Format(_T("COM%d"),ii); si.strDevPath = CString(_T("\\\\.\\")) + strPort; si.strPortName = strPort; asi.Add(si); }}void EnumPortsW9x(CArray<SSerInfo,SSerInfo&> &asi){ HKEY hkEnum = NULL; HKEY hkSubEnum = NULL; HKEY hkSubSubEnum = NULL; try { if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, _T("Enum"), 0, KEY_READ,&hkEnum) != ERRORwhatsapp网页版官方安卓版下载_SUCCESS)throw CString(_T("Could not read from HKLM\\Enum")); TCHAR acSubEnum[128]; DWORD dwSubEnumIndex = 0; DWORD dwSize = sizeof(acSubEnum); while (RegEnumKeyEx(hkEnum, dwSubEnumIndex++, acSubEnum, &dwSize,NULL, NULL, NULL, NULL) == ERROR_SUCCESS) {HKEY hkSubEnum = NULL;if (RegOpenKeyEx(hkEnum, acSubEnum, 0, KEY_READ,&hkSubEnum) != ERROR_SUCCESS)throw CString(_T("Coulwhatsapp网页版代理注册d not read from HKLM\\Enum\\"))+acSubEnum;BOOL bUsbDevice = (wcscmp(acSubEnum,_T("USBPORTS"))==0);TCHAR acSubSubEnum[128];dwSize = sizeof(acSubSubEnum); // set the buffer sizeDWORD dwSubSubEnumIndex = 0;while (RegEnumKeyEx(hkSubEnum, dwSubSubEnumIndex++, acSubSubEnum,&dwSize, NULL, NULL, NULL, NULL) == ERROR_SUCCESS){BOOL bMatch = (wcscmp(acSubSubEnum,_T("*PNP0500"))==0 || wcscmp(acSubSubEnum,_T("*PNP0501"))==0 || bUsbDevice);if (bMatch){ HKEY hkSubSubEnum = NULL; if (RegOpenKeyEx(hkSubEnum, acSubSubEnum, 0, KEY_READ, &hkSubSubEnum) != ERROR_SUCCESS) throw CString(_T("Could not read from HKLM\\Enum\\")) +acSubEnum + _T("\\") + acSubSubEnum; SearchPnpKeyW9x(hkSubSubEnum, bUsbDevice, asi); RegCloseKey(hkSubSubEnum); hkSubSubEnum = NULL;}dwSize = sizeof(acSubSubEnum); // restore the buffer size}RegCloseKey(hkSubEnum);hkSubEnum = NULL;dwSize = sizeof(acSubEnum); // restore the buffer size } } catch (CString strError) { if (hkEnum != NULL)RegCloseKey(hkEnum); if (hkSubEnum != NULL)RegCloseKey(hkSubEnum);华为手机怎么更新whatsapp版本 if (hkSubSubEnum != NULL)RegCloseKey(hkSubSubEnum); throw strError; } RegCloseKey(hkEnum);}void SearchPnpKeyW9x(HKEY hkPnp, BOOL bUsbDevice, CArray<SSerInfo,SSerInfo&> &asi){ HKEY hkSubPnp = NULL; try { TCHAR acSubPnp[128]; DWORD dwSubPnpIndex = 0; DWORD dwSize = sizeof(acSubPnp); while (RegEnumKeyEx(hkPnp, dwSubPnpIndex++, acSubPnp, &dwSize,NULL, NULL, NULL, NULL) == ERROR_SUCCESS) {HKEY hkSubPnp = NULL;if (RegOpenKeyEx(hkPnp, acSubPnp, 0, KEY_READ,&hkSubPnp) != ERROR_SUCCESS)throw CString("Could not read from HKLM\\Enum\\...\\") + acSubPnp;char acValue[128];dwSize = sizeof(acValue);if (RegQueryValueEx(hkSubPnp, _T(&qwabusiness官方安卓版本uot;PORTNAME"), NULL, NULL, (BYTE*)acValue,&dwSize) == ERROR_SUCCESS){CString strPortName(acValue);CString strFriendlyName;dwSize = sizeof(acValue);if (RegQueryValueEx(hkSubPnp, _T("FRIENDLYNAME"), NULL, NULL, (BYTE*)acValue, &dwSize) == ERROR_SUCCESS) strFriendlyName = acValue;SSerInfo si;si.strDevPath = CString(_T("\\\whatsapp版本提示更新但是更新不了\.\\")) + strPortName;si.strPortName = strPortName;si.strFriendlyName = strFriendlyName;si.bUsbDevice = bUsbDevice;BOOL bDup = FALSE;for (int ii = 0; ii < asi.GetSize() && !bDup; ii ++){ if (asi[ii].strPortName == strPortName) { bDup = TRUE; asi[ii] = si; }}if (!bDup){ asi.Add(si);}}RegCloseKey(hkSubPnp);hkSubPnp = NULL;dwSize = sizeof(acSubPnp); } } catch (CString strError) { if (hkSubPnp != NULL)RegClowhatsapp网页版手机版本下载seKey(hkSubPnp); throw strError; }}很久以前的代码了,不知道现在还能不能用,给你参考了。
ml5iddlbgt 可能是驱动问题 你可以 下载个驱动精灵自己更新下 zxt198938 xp系统才显示COM几; niuniu0805 这个网上有共享助手可以用的 当然前提是两个电脑需要连接 不过共享速度是很慢的 mengjun4666 端口是无法共享的,只有设备共享
WhatsApp中文网页版 - WhatsApp官网请注明:WhatsApp中文网页版 - WhatsApp官网 » whatsapp网页版扫描登录 电脑的COM口肿么用啊??