2010-01-01から1年間の記事一覧

WinMain関数でmain関数のargc,argvを得る

// 空ファイルを作成する。 #include <windows.h> #include <tchar.h> #include <stdio.h> int WINAPI _tWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nShowCmd ) { if (__argc <= 1) return 0; // コマンドライン引数の数 TCHAR* file = __targv[1]; /</stdio.h></tchar.h></windows.h>…

だいなファイラで個人的によく使う外部コマンドの設定。

SVN関連 実行ファイル C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe以降、各コマンドのパラメーター。 Update /command:update /path:"$D" Commit /command:commit /path:"$D" Add /command:add /path:"$D" Revert /command:revert /path:"$D" Show l…