Error 1400
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Sat, 08 Oct 2016 23:06:19 GMT by s_ac5 (squid/3.5.20)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this
Sql Error 1400 Sqlstate 23000
site About Us Learn more about Stack Overflow the company Business Learn
Error Code 1400
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x ora 1400 error Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/how-do-i-fix-an-internet-explorer-code-1400-error/efb4d0df-51a9-4db2-8dfe-c6b0c808ecad 1400 Invalid window handle up vote 0 down vote favorite I have code: ...... g_hWnd = CreateWindow( L"Urok6WindowClass", L"TitleWindow", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, rc.right - rc.left, rc.bottom - rc.top, NULL, NULL, hInstance, NULL ); if( !g_hWnd ) return E_FAIL; ShowWindow(g_hWnd, nCmdShow ); All works fine. But if I add: LPTSTR tilte_old= L"Old title"; int gettus = GetWindowText(g_hWnd, tilte_old, 100); DWORD error = GetLastError(); WCHAR szTest[10]; http://stackoverflow.com/questions/11138626/error-1400-invalid-window-handle swprintf_s(szTest, 10, L"%d", error); MessageBox(NULL, szTest, L"TEST2", MB_OK); MessageBox >> 1400 gettus >> '' Why is this happening? Why windows handle is invalid? c++ share|improve this question asked Jun 21 '12 at 12:54 Echeg 6611723 1 Are you sure GetWindowText fails? You should never trust errors GetLastError unless you really know the last function returned an error. Check gettus first. –Joachim Pileborg Jun 21 '12 at 12:58 2 You'll probably want an actual array to hold your window's text, not a pointer to some string in read-only memory. TCHAR tilte_old [100]; –chris Jun 21 '12 at 12:58 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted The second parameter of GetWindowText is an out parameter: lpString [out] Type: LPTSTR The buffer that will receive the text. If the string is as long or longer than the buffer, the string is truncated and terminated with a null character. So you need to supply a buffer to be filled, not a pointer to a constant string (the third parameter indicates the maximum size of the buffer to avoid overflow) Try: const size_t BUFF_SIZE =
a PMR Technote (troubleshooting) Problem(Abstract) Error http://www-01.ibm.com/support/docview.wss?uid=ssg1S1003979 Codes 1400 (SAN Volume Controller) and 1401 (Storwize V7000 and Storwize V7000 Unified) indicate that an ethernet link is no longer active. These are usually caused by a problem in the environment rather than a problem with the SVC or Storwize V7000 hardware. Previously these error error 1400 codes would have automatically raised a PMR with IBM, however this will no longer occur. Cause Environmental issues such as a reset of the attached ethernet switch, or the removal of an Ethernet cable are the most likely causes for the 1400 or 1401 errors. Some error 1400 invalid reconfiguration of the ethernet interface (for example modifying the MTU of the interface) may also cause a transient 1400 or 1401 error. Resolving the problem If you are unable to determine the cause of the Ethernet fault, then you should contact your IBM Support Center for more assistance. Cross reference information Segment Product Component Platform Version Edition Storage Virtualization SAN Volume Controller 6.4 SAN Volume Controller 4.3, 5.1, 6.1, 6.2, 6.3, 6.4 Disk Storage Systems IBM Storwize V7000 Unified (2073) 1.3 IBM Storwize V7000 1.3 Document information More support for: IBM Storwize V7000 (2076) 6.4 Version: 6.1, 6.2, 6.3, 6.4 Operating system(s): IBM Storwize V7000 Reference #: S1003979 Modified date: 2012-01-06 Site availability Site assistance Contact and feedback Need support? Submit feedback to IBM Support 1-800-IBM-7378 (USA) Directory of worldwide contacts Contact Privacy Terms of use Accessibility