dll注入正常的流程是
VirtualAllocEx申请地址。 
WriteProcessMemory写入
GetProcAddress(GetModuleHandle('Kernel32'), 'LoadLibraryA')
最后再
CreateRemoteThread但是我现在的情况是这样.
我想在注入DLL的时候.让被注入的程序调用DLL里面的过程.比如Procedure getmyflag(flag:string);
 begin
  if flag='asdf' then begin
   do ...
  end else begin
  stop...
  end;这样应该怎么写呢?
忘指教.