Saturday, September 1, 2018

Notpad++ plugin x64

[Release]
- Add Library
Property > Linker > Input > Additional Dependencies
add the library full path (include file name)

- Add preprocessor define
Property > C/C++ > Preprocessor > Preprocessor Definitions
add define word e.g., __TEST_DEF__


[Debug]
error D8016: '/Ox' and '/RTC1' command-line options are incompatible
- Property > C/C++ > Code Generation > Basic Runtime Checks
from "Both (/RTC1, equiv. to /RTCsu) (/RTC1)" to "default"


About source code
how to use zlib in C++
http://windrealm.org/tutorials/decompress-gzip-stream.php
Base64, open source in apple
https://opensource.apple.com/source/QuickTimeStreamingServer/QuickTimeStreamingServer-452/CommonUtilitiesLib/base64.c


// display string in new tab window
::SendMessage(nppData._nppHandle, NPPM_MENUCOMMAND, 0, IDM_FILE_NEW);

HWND hCurrScintilla = getCurrentScintillaHandle();
::SendMessage(hCurrScintilla, SCI_SETTEXT, 0, (LPARAM)SSRM_log);

[Change Project Name]
open editor and change file name and directory path
 - XXX.sln
 - XXX.vcxproj




No comments: