본문 바로가기

Remote Debugging Visual C++ 2015 [1]의 포스트에서 허락없이 퍼옴 This describes how to configure your system to do remote debugging when you are using Visual Studio 2015. There is no installer for the debug DLLs, so you need to work around this problem. Among other things, these instructions solve this error message: The program can't start because ucrtbased.dll is missing from your computer. These instructions take extra steps to handle th.. 더보기
[bat] batch 파일에서 실행중인 프로세스 체크하기 Windows batch 파일에서 실행중인 프로세스 체크하기 현재 실행중인 프로세스 종료후 다음 작업 해야할때 사용하면 된다. tasklist /FI "IMAGENAME eq myapp.exe" 2>NUL | find /I /N "myapp.exe">NUL if "%ERRORLEVEL%"=="0" echo Programm is running http://stackoverflow.com/questions/162291/how-to-check-if-a-process-is-running-via-a-batch-script 더보기
[bat] batch 파일에서 ini 수정(read/write) Windows batch 파일에서 ini 수정(read/write) .bat파일에서 ini파일을 읽고 편집 가능하다.해당 파일을 다운로드하여 그냥 사용하자. :: -------------------- :: ini.bat :: ini.bat /? for usage :: -------------------- @echo off setlocal enabledelayedexpansion goto begin :usage echo Usage: %~nx0 /i item [/v value] [/s section] inifile echo; echo Take the following ini file for example: echo; echo [Config] echo password=1234 echo usertries=0 e.. 더보기
[vagrant] VirtualBox의 .vdi 파일로 .box 만들기 (패키징) [vagrant] VirtualBox의 .vdi 파일로 .box 만들기 (즉, 패키징 하기) vagrant가 설치되어 있다고 가정, 1. vagrant package [name|id] 명령어를 사용하여 .box 생성 하기(참조1) - .vdi 파일이 있는 폴더로 이동 - 'Windows 7 (32bit).vdi' 파일이라고 한다면, 아래와 같이 입력 (.vdi떼고 이름만) > vagrant package --base "Windows 7 (32bit)" --out Win7.box 2. 생성한 .box파일을 vagrant에서 사용하기 > vagrant box add Win7(32) Win7.box > vagrant init Win7(32) > vagrant up ***이렇게 추가된 box는 '~/.vagra.. 더보기
vagrant 활용 - Windows / IE vagrant vagrant라는걸 처음 알았다. [2]에 따르면, '개발 환경을 OS에 의존적이지 않게 만드는 것이 목적'이다. 자세한건 검색하길 바란다. 나도 모른다. 여기에 쓸 내용은 vagrant로 각 버전별 Windows/IE 환경을 쉽게 구축? (다운로드) 하는 방법이다.vagrant는 여러가지 가상머신을 지원하며, 보통 virtual box를 많이 사용한다. 1. virtual box 다운로드 https://www.virtualbox.org/ 2. vagrant 다운로드 https://www.vagrantup.com/downloads.html 에서 다운로드 3. 버전별 vagrant box가 들어 있는 Vagrantfile 다운로드 (git 혹은 zip 파일) - git > git clone .. 더보기