方法一:在ProjectInstaller.cs重写 install() ,Uninstall()方法public override void Install(IDictionary stateServer) { Microsoft.Win32.RegistryKey system, /...
1、请将你下载的instantclient-basic-win32-10.2.0.5 文件解压。然后复制到你的数据库安装的文件夹下的producti文件夹下,我的是:E:\app\Administrator\product。2、然后找到两个文件listener.ora和tnsnames.ora我的在...
分类:
数据库 时间:
2014-07-16 21:39:00
阅读次数:
267
一、下载http://dev.mysql.com/downloads/mysql/ 的下面二、安装过程1、解压缩mysql-noinstall-5.0.37-win32.zip到一个目录,加入解压缩到E:\myserver目录。2、编写mysql的运行配置文件my.inimy.ini--------...
分类:
数据库 时间:
2014-07-16 21:08:10
阅读次数:
206
《Windows Graphics Programming Win32 GDI and DirectDraw》6.1节中有这样的描述:The Windows NT/2000 graphics engine uses signed fixed-point numbers to represent co...
所遇问题 新建的算量工程文件暂时保存到临时文件中,代码中调用了Win32 API——GetTempFileName 但在一台笔记本上,函数返回了一个空字符串! 为了查明原因想到了好用的GetLastError——返回错误信息。 结果错误信息为“拒绝访问”,这让我很快想到了传入文件夹用户权限问...
最近的工作需使用OpenGL的MultiSample功能,在不使用glut,glfw等库的情况下,要创建支持Multisampling的OpenGL Render Context对于初学者来讲还是要花一番功夫的。昨天晚上又把Nehe’s OpenGL tutorial里的Lesson 46拿出来.....
分类:
移动开发 时间:
2014-07-16 20:07:06
阅读次数:
210
using System;using System.Collections.Generic;using System.Text;using Microsoft.Win32;namespace Register{ public class RegisterHelper { /...
分类:
其他好文 时间:
2014-07-16 19:43:07
阅读次数:
398
1、MFC中点出对话框显示另存为的一个路径和文件:
void CPatchDlg::OnBnClickedBtnPath()
{
//一下为选择另存为一个路径
m_strSavepath = "";
BROWSEINFO bi;
ZeroMemory(&bi, sizeof(BROWSEINFO));
bi.hwndOwner = m_hWnd;
bi.ulFlags = BIF_...
分类:
编程语言 时间:
2014-07-10 23:51:47
阅读次数:
323
在对话框初始化过程中将设备通知消息注册到winproc中
//Register to receive notification when a USB device is plugged in.
broadcastInterface.dbcc_size =sizeof(DEV_BROADCAST_DEVICEINTERFACE);
broadcastInterface.dbcc_devicet...
分类:
其他好文 时间:
2014-07-10 21:49:41
阅读次数:
338
如下一段代码可以借鉴:static void _sleep_response_timeout(modbus_t *ctx)
{
#ifdef _WIN32
/* usleep doesn't exist on Windows */
Sleep((ctx->response_timeout.tv_sec * 1000) +
(ctx->response_timeo...
分类:
系统相关 时间:
2014-07-10 20:42:13
阅读次数:
303