服务器端:
yum
-y install nfs* rpcbind
vi /etc/exports
/home/willserver 192.168.1.100(rw,sync,no_root_squash)
service rpcbind restart
service nfs restart
setenforce 0
客...
分类:
其他好文 时间:
2014-11-19 01:51:20
阅读次数:
138
当我们需要查看一个dll或exe文件中的包含的函数或是依赖的函数之类的信息,可以使用Visual Studio自带的工具dumpbin来实现,使用方法为:1/ 启动Visual Studio 命令行工具;2/ 执行 dumpbin /exports (dll或者exe文件路径)
分类:
其他好文 时间:
2014-11-15 21:46:01
阅读次数:
329
在/etc/exports 里面添加 /work/nfs_root *(rw,sync,no_root_squash)时出现E486: Pattern not found: work这是因为输入方式不对。正确的方法是按o进入插入模式后,即插入新的一行,从行首开始输入文字。 然后输入/work/nfs...
分类:
系统相关 时间:
2014-11-14 10:28:45
阅读次数:
234
1.创建工程--->Win32工程。
2.选择dll类型
3.添加代码
4.添加def定义文件
5.向def文件中添加代码
LIBRARY CnBlogsDll
EXPORTS
class1
class2
func1
func2
data1
data2 其中data1,data2,func1,func2,class1,class2等是需要导出的符...
分类:
其他好文 时间:
2014-11-13 20:49:10
阅读次数:
216
1)首先写指令 exports.define=function(md){//这个是写的通用的安全使用apply的服务md.factory(‘safeApply‘,function($rootScope){ returnfunction(scope,fn){ varphase=scope.$root.$$phase; if(phase==‘$apply‘||phase==‘$digest‘){ if(fn&&(typeof(fn)=..
分类:
Web程序 时间:
2014-11-10 15:48:34
阅读次数:
186
#if (defined WIN32 || defined WIN64) && defined CVAPI_EXPORTS
#define CV_EXPORTS __declspec(dllexport)
#else
#define CV_EXPORTS
#endif
#ifndef CVAPI
#define CVAPI(rettype) CV_EXTERN_C CV_E...
分类:
其他好文 时间:
2014-11-03 16:24:49
阅读次数:
312
define(function(require,exports,module){ var Events=function(){ var array = []; var push = array.push; var slice = array.slice...
分类:
编程语言 时间:
2014-10-29 12:40:44
阅读次数:
196
一 Dll的制作一般分为以下几步:1 在一个DLL工程里写一个过程或函数2 写一个Exports关键字,在其下写过程的名称。不用写参数和调用后缀。二 参数传递1 参数类型最好与window C++的参数类型一致。不要用DELPHI的数据类型。2 最好有返回值[即使是一个过程],来报出调用成功或失败,...
全局对象:global:永远使用var 定义变量以避免引入全局变量;process:所有全局执行上下文的内容都在process对象中;模块系统:三个全局变量require():如果模块不是在node_modules中,那么必须使用相对路径导入;exports:可以在这个对象上定义一些属性,以这个对象...
分类:
其他好文 时间:
2014-10-27 22:30:54
阅读次数:
169
CV_EXPORTS 常用如下:class CV_EXPORTS MatExpr;template class CV_EXPORTS Size_;CV_EXPORTS 定义于types_c.h:#if (defined WIN32 || defined WIN64) && defined CVAPI...
分类:
其他好文 时间:
2014-10-27 14:06:03
阅读次数:
269