J
jianlei
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure DLLEntryPoint(tagWord);<br>begin<br> case tag of<br> DLL_PROCESS_ATTACH: showmessage('调用DLL文件...');<br> DLL_PROCESS_DETACH: showmessage('释放DLL文件...');<br> DLL_THREAD_ATTACH: showmessage('创建一个新的线程...');<br> DLL_THREAD_DETACH: showmessage('释放一个线程...');<br> end;<br>end;<br><br>begin<br> DllProc:=@DLLEntryPoint;<br> DLLEntryPoint(DLL_PROCESS_ATTACH);<br>end.<br>这样写在调用DLL文件时到是显示“'调用DLL文件...”的信息<br>但如何显示其它三个信息<br>请指点