This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* =================== | |
* WM_COPYDATA example | |
* =================== | |
* | |
* Working example for sending a string between C# handles (Controls/Forms) using WM_COPYDATA. | |
* | |
* TODO: | |
* ----- | |
* * Add more info | |
* * Make generic struct copying work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if not exist %~dp0__aliases.bat (echo echo Aliases are Enabled > %~dp0__aliases.bat) | |
if [%~1] == [] GOTO PRINTOUT | |
if "%~1" == "_startup_" GOTO DEFINE | |
if "%~1" == "/remove" GOTO REMOVE | |
if [%~2] == [] GOTO SEARCH | |
:: Check to make sure the DOSKEYs are added on every CMD | |
REG QUERY "HKCU\Software\Microsoft\Command Processor" /v AutoRun >nul 2>&1 | |
if %ERRORLEVEL% == 0 ( |