您的位置:程序门 -> vc/mfc -> 进程/线程/dll



关于share dll的问题


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


关于share dll的问题
发表于:2007-03-20 21:53:11 楼主
share   dll中就theapp开始执行了,那比如我想在
bool   apientry   dllmain(   handle   hmodule,   dword   ul_reason_for_call,   lpvoid   lpreserved)
{
switch   (ul_reason_for_call)
{
case   dll_process_attach:
case   dll_thread_attach:
case   dll_thread_detach:
case   dll_process_detach:
}
return   true;
}
函数中加入比如   case   dll_thread_attach:   下面的代码,怎么加啊?
在share   dll   中连dllmain都看不到,难道要重载吗?
发表于:2007-03-21 11:54:341楼 得分:0
自己顶!


快速检索

最新资讯
热门点击