Click here to Skip to main content
16,012,061 members
Home / Discussions / C#
   

C#

 
GeneralRe: Removing Mutex and file lock using DLL injection (Guild Wars) in C# Pin
Richard Andrew x649-Nov-11 9:26
professionalRichard Andrew x649-Nov-11 9:26 
GeneralRe: Removing Mutex and file lock using DLL injection (Guild Wars) in C# Pin
KairuByte9-Nov-11 9:41
KairuByte9-Nov-11 9:41 
GeneralRe: Removing Mutex and file lock using DLL injection (Guild Wars) in C# Pin
Richard Andrew x649-Nov-11 9:50
professionalRichard Andrew x649-Nov-11 9:50 
GeneralRe: Removing Mutex and file lock using DLL injection (Guild Wars) in C# Pin
KairuByte9-Nov-11 9:57
KairuByte9-Nov-11 9:57 
GeneralRe: Removing Mutex and file lock using DLL injection (Guild Wars) in C# Pin
Richard Andrew x649-Nov-11 10:00
professionalRichard Andrew x649-Nov-11 10:00 
GeneralRe: Removing Mutex and file lock using DLL injection (Guild Wars) in C# Pin
KairuByte9-Nov-11 10:02
KairuByte9-Nov-11 10:02 
GeneralRe: Removing Mutex and file lock using DLL injection (Guild Wars) in C# Pin
Richard Andrew x649-Nov-11 10:05
professionalRichard Andrew x649-Nov-11 10:05 
GeneralRe: Removing Mutex and file lock using DLL injection (Guild Wars) in C# Pin
KairuByte9-Nov-11 15:22
KairuByte9-Nov-11 15:22 
Wow, very nice article there. I'm surprised I missed it..... Thanks!

I'll definitely check that out! This way I can either hook the process creation, or even just hook CreateFile(). Though at this point I have another question I'm going to move down the thread line...

Edit: Looks like I could muddle my way into making that work... Might just hook CreateFile globally and look specifically for gw.dat openings.

I can see advantages for both. If I globally hook CreateFile and look for gw.dat, no matter what the process is named it would open read only. Which would be fine except when the user needs to update... If I globaly hook process creation I would be able to avoid issues with updating.... Maybe I'll implement both as options.

modified 9-Nov-11 21:56pm.

QuestionRe: Removing Mutex and file lock using DLL injection (Guild Wars) in C# Pin
KairuByte9-Nov-11 15:59
KairuByte9-Nov-11 15:59 
QuestionHandling Own Non-Client Area -- Adjust Client Rectangle? Pin
Matt U.8-Nov-11 6:50
Matt U.8-Nov-11 6:50 
Questionunable to read from SerialPort Pin
Jassim Rahma8-Nov-11 5:59
Jassim Rahma8-Nov-11 5:59 
AnswerRe: unable to read from SerialPort Pin
Dan Mos8-Nov-11 6:13
Dan Mos8-Nov-11 6:13 
GeneralRe: unable to read from SerialPort Pin
Jassim Rahma8-Nov-11 6:45
Jassim Rahma8-Nov-11 6:45 
GeneralRe: unable to read from SerialPort Pin
Dan Mos8-Nov-11 7:03
Dan Mos8-Nov-11 7:03 
AnswerRe: unable to read from SerialPort Pin
Luc Pattyn8-Nov-11 7:05
sitebuilderLuc Pattyn8-Nov-11 7:05 
QuestionHow to check if a window is open Pin
swapna chappidi8-Nov-11 4:16
swapna chappidi8-Nov-11 4:16 
AnswerRe: How to check if a window is open Pin
Rob Philpott8-Nov-11 4:36
Rob Philpott8-Nov-11 4:36 
GeneralRe: How to check if a window is open Pin
swapna chappidi8-Nov-11 4:47
swapna chappidi8-Nov-11 4:47 
GeneralRe: How to check if a window is open Pin
BobJanova8-Nov-11 5:23
BobJanova8-Nov-11 5:23 
AnswerRe: How to check if a window is open Pin
RaviRanjanKr13-Nov-11 4:36
professionalRaviRanjanKr13-Nov-11 4:36 
QuestionIn Windows 7 I can't get a window to be shown in foreground (Win32 API) Pin
Axonn Echysttas8-Nov-11 2:38
Axonn Echysttas8-Nov-11 2:38 
AnswerRe: In Windows 7 I can't get a window to be shown in foreground (Win32 API) Pin
Axonn Echysttas9-Nov-11 1:34
Axonn Echysttas9-Nov-11 1:34 
QuestionManipulating the order event handlers are executed Pin
Bernhard Hiller8-Nov-11 0:05
Bernhard Hiller8-Nov-11 0:05 
AnswerRe: Manipulating the order event handlers are executed Pin
Alan N8-Nov-11 0:47
Alan N8-Nov-11 0:47 
GeneralRe: Manipulating the order event handlers are executed Pin
BobJanova8-Nov-11 1:18
BobJanova8-Nov-11 1:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.