I inject my DLL through codes above... And my DLL just load some extra lua files into WOW... But Unfortunately , Even inject it after "WaitForInputIdle" and sleep for 3 seconds, Wow still have about 20% possibility to crash or become not responding....Code:Public Sub InjectAllWows() Dim MyWows = System.Diagnostics.Process.GetProcessesByName("Wow") For i = 0 To MyWows.Length - 1 Dim MyProcess = MyWows(i) MyProcess.WaitForInputIdle() Threading.Thread.Sleep(3000) Try Dim MyModules = MyProcess.Modules Dim Found = False For j = 0 To MyModules.Count - 1 If MyModules(j).ModuleName.ToLower().IndexOf("chack.dll") <> -1 Then Found = True Exit For End If Next If Not Found Then InjectProcess(MyProcess.Id, Application.StartupPath() & "\Hacks\CHack.dll") End If Catch e As Exception End Try Next End Sub
So is there anything i can do to deal with it?