#时做

在delphi中,DLL加载时做初始化的Demo

libraryDLLEntry;//dll源码usesSysUtils,Classes,Dialogs,Windows;{$R*.res}procedureDLLEntryPoint(dwReason:DWord);begincasedwReasonofDLL_PROCESS_ATTACH:showMessage('映...