在ubuntu上安装dnx

在ubuntu上安装dnx。 2024.11.25补充说明:本文所说的dnx,就是早期的.net core 先安装2个工具 sudo apt-get install unzip curl 利用CURL下载并安装DNVM curl -sSL https://raw.githubuser...

Ubuntu14.04里面有两个python版本

Ubuntu14.04里面有两个python版本。 默认的是python2.7 如果要使用python3.4  可以用python3这个命令就好了。

PHP7 编译配置参数

PHP7 编译配置参数 ubuntu14.04上需要安装的库 apt-get -y  install libxml2-dev libjpeg-dev libpng-dev libfreetype6-dev libmcrypt-dev  libcurl4-openssl-dev  ma...

VC 递归调用GetWindow查找控件

VC 递归调用GetWindow查找控件 HWND g_TargetMainWnd = NULL ; BOOL WINAPI EnumWindowsProc(HWND hWnd, LPARAM lParam) { if (:: GetWindowLong(hWnd , GWL_STYLE ) & WS_VISIBLE ) { ...

WinForm中richTextBox1换行

WinForm中richTextBox1换行 richTextBox1.Text += "【" + DateTime .Now.ToLongTimeString() + "】" + log; this.richTextBox1.AppendText( Environment.NewLine);

VC 检测文件是否存在

VC 检测文件是否存在 bool IsExistFile(LPCSTR pszFileName ) { WIN32_FIND_DATA FindFileData; HANDLE hFind; hFind = FindFirstFile(pszFileName , &FindFileData); ...

VC库函数获取当前EXE所在的路径

VC库函数获取当前EXE所在的路径 TCHAR cfgPath[ MAX_PATH]; GetModuleFileName(NULL , cfgPath, MAX_PATH); PathAppend(cfgPath, "..\\config.ini" );