10:18:34
1. Run the X command to view the memory. In xcode debugging that often hangs in the memory, especially X/20x0x12345678, you can view the content of 20 memory units at 0x12345678.
2. asni is an anscii (0 ~ 127) encoding Extension
3. Ups: uninterruptible power supply
4. When you attach the process to debug the DLL, you can use the release version EXE, or the EXE compiled by vc6.0, And the DLL is compiled by 2008.
11:34:37
1. Use ndk-stack to view the call stack when overflow occurs.
ADB logcat | $ ndk/ndk-Stack-sym $ project_path/obj/local/armeabi
Or
ADB logcat/tmp/foo.txt
$ Ndk/ndk-Stack-sym $ project_path/obj/local/armeabi-dump foo.txt
(In cygwin, you can call EXE in Windows or Linux)
2. Use the interlockedexchange function, global variables defined by volatile, and general conditions in Windows to control the trend of Multithreading
3. Beyond compare: sets the ANSI format tool by default when the tab is opened-> file format-> select C, C ++ ,... -> conversion-> external program (ANSI file name) and encoding (select "ANSI")-> Save-> close
4. Install the vs2008x64-bit Compiler: When the vs2008 installation program is enabled, the component loading error may occur. Use another method: open the control panel-> uninstall programs page-> select vs team suit-> Change Programs-> select "x64 compiler under language tools", and install it with the CERT compiler.
5. 64-bit programs call 64-bit csp dll. 64-bit csp dll debugging can be tested by using 64-bit IE to call 64-bit controls.
6. Control debugging: by default, multiple processes are called by IE8 and directly attached to process debugging, you need to add the DWORD Value tabprocgrowth under the HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ main key, and set the value to 0.
7. VC debugging: Enter $ err in the variable name column of the monitoring window. HR can monitor the error code in the previous step.
8. Prior to the string, l notifies the compiler that the string should be compiled into a unicode string. When the compiler puts this string into the program's data segment, each character is encoded with a UTF-16
11:35:01
1. The CNNIC algorithm cannot be used for SSL login. untrusted certificate signature is invalid. The browser does not recognize SM1/sm4 as a symmetric algorithm. SM2 is a non-symmetric algorithm. Sm3 is a hash algorithm.
2. win8appstore does not support many desktop APIs, such as hid_feature.
3. the XML layout of android can be implemented through Java, and the underlying implementation of Android UI is also implemented.
4. VC Ctrl + F2 add browsing labels
10:46:34
1. When the file is cleared, the system reports a usage error. The parameter can be mspdbsrv.exe. If you refresh the directory after the shutdown, mspdbsrv.exe restarts, but if the breakpoint cannot be accessed, restart the IDE.
2. Windows laptops can recognize TXT documents in UTF-8 and ANSI formats, but cannot correctly prompt whether the document is ANSI or UTF-8. Directly copying the Chinese characters in the UTF-8 document to the new document is stored in ANSI format. If the encoding is different, you need to view the encoding. It is better to use Notepad ++ or ultraedit.
3. the TCP stick package indicates that the sending and receiving steps are not consistent. It may be obtained only when the unreceived data is stored in the buffer in the last time, but stream Parsing is the right one. The name is mysterious.
14:30:11
Action_pointer_down cannot be resolved or is not a field: the API version is too low.
20:00:48
1. animation display pop-up window effect: animatewindow
11:08:48
1. Cert dn cn: CN is part of the DN, And the DN region is all information of the "user" Field
2. debugging when chrome calls the npapi:
Chrome only needs to support 32-bit DLL for calling the npapi. From multi-path execution, the chrome.exe process that calls the dllis appended. To locate which chrome.exe calls the DLL, use process assumer.exe to view it. For additional debugging, start chrome, call the test webpage, and then use process assumer.exe.exe to specify the chrome.exe process. Then, use the vs2008 project to add debugging, set breakpoints, and click a button on the webpage, it should be able to enter the breakpoint.
3. Use the asn1view tool to view the DER-encoded certificate structure asn1dump
4. Customize the macro of the resource file on its own macro definition page
5. # define if_error_goto_end () do {If (0! = U4result) {char szerr [100]; sprintf_s (szerr, sizeof (szerr), "file: % s, line: % d, urresult = % 08x" ,__ file __, __line __, u4result); messageboxa (null, szerr, "error", mb_ OK); goto end ;}} while (0)
6. VC obtains the system path and a very powerful API shgetspecialfolderpatha. The sh prefix indicates shell.
11:17:19
1. Compile Android-cygwin and generate lib and so. The corresponding Eclipse project needs to be refreshed, then clean, and then refresh the so in the corresponding APK generated again.
2./obj/local/armeabi/libgnustl_static.a: Permission denied administrator starts mitty.exe of cgwin.
15:08:59
1. Compile and register the IDE control. msdev (ide process of vc6.0) or devenv (ide process of vs2008) must be run as an administrator. Otherwise, the registration fails.
2. If the windows-cmd command line registers the control, you must run the CMD command in the attachment as the administrator to register the control. If you go to the System32 directory and open the CMD registration control as the administrator, no
14:49:34
1. Isolation complexity
11:46:08
1. Your client does not have permission to get URL/2 from this server: Upgrade goagent or change profile = google_hk in proxy. ini
15:36:34
1. Static databases can only reference static databases, but cannot use dynamic libraries. DSW and sln both exist by creating a vc6 project first, and then turning on SLN with vc9
2. PGP "cannot establish connection with pgp sdk Service": Administrative Tools-> services: Encrypted File System and Ike and Auth IPSec keyring module are disabled and pgpserv service is enabled, then you can open the PGP Desktop tool normally.
3. If the Word documents downloaded from the internet contain an Embedded Word object, you need to right-click the attribute "unlock" if it cannot be opened. If the downloaded webpage uses a local control, you also need to unlock it.
15:56:08
1. dwkeyspec specifies the private key in the container: The dwkeyspec field identifies the private key to use from the container
9:50:20
1. The common library compiled by xcode 5.0 can be called by the commontest project compiled by xcode 4.6.
15:25:45
1. fsutil file createnew c: \ testfile3.txt XXXXX [Note: create a file of the specified size. xxxx indicates the number of bytes]
8:46:28
1. view the Unicode string settings during debugging:
1) Open vc6 and select "Tools" in the menu bar"
2) Select "options" under "Tools"
3) in the "options" setting box that appears, select the "debug" tab"
4) Check "display Unicode strings" in the lower-right corner to view the Unicode string variable content in debug mode in the watch window.
15:13:01
1. Do not use the bool type. In this 64-bit IOS compilation, an error is returned, which is in conflict with the built-in bool of C ++;
2. Do not convert the pointer address to (U4) parameter passing. Otherwise, the 64-bit CPU compilation will report an error, and the operation will surely fail;
15:37:30
1. The best windows multi-language solution is the Unicode compiling environment, tchar type, and the configuration file is ucs2 small-end encoding.
2. // The regular MessageBox is not topped by _ objtrayicon. Therefore, the global MessageBox is used and the window handle of the foreground window of the current system is used as the parent window.
: MessageBox (: getforegroundwindow (), sztip, sztitle, mb_topmost | mb_iconinformation | mb_ OK );
18:01:12
1. Create a workspace in xcode to add multiple projects: Create a group folder in the workspace, and drag the. xcodeproj file of the project to be added to the group folder.
16:21:26
1. SVN Delete usage: SVN Delete-M "message" file: // var/SVN/repos/test/Yourfile -- username XXX -- password xxx
11:38:58
1. detours: A function library developed by Microsoft to capture system APIs.
2. http://code.google.com/p/ecstool-platform/ http://www.open-open.com/lib/view/open1376871583553.html
3. http://www.cnblogs.com/jialiang/archive/2010/03/23/uacselfelevation.html
15:26:22
1. Man-in-the-middle attack: Why does the browser ensure security, rather than verifying security on the website server?
2. Is RSA Signature = decryption Signature = encryption?
19:43:11
1. If the 32-bit and 64-bit data types are different, remember only two: Long: 4/8 void *: 4/8.
17:26:01
1. guid vs2008: A ^ 8-(: A ^ 4-) ^ 3: A ^ 12
2. Thunderbird imports emails to Foxmail: Download importexporttools, export all emails to EML format, and then import emails from Foxmail, which is also in EML format. During export, it is not selected according to the folder, but in the mail list on the right Ctrl + all, and then export, may be a bug
19:52:53
1. The system finds the custom CSP library through advapi32.dll.
2. ie single process: add the value of the DWORD variable tabprocgrowth to the HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ main: 0
3, TCPIP diagram: http://www.cricode.com/3568.html
20:35:29
1. Large comments:
/*
... Code...
//*/
With this method, you can directly add a '/' to change it when no comment is required.
//*
... Code...
//*/
Make the code area valid again. The disadvantage is that nesting is not supported. You can use # If (0)
Small knowledge point log ~ 2014-10-11)