hello say i have a running .dll file and i want to delete it i need to somehow remove the protection off it then i can easily delete it anyone know how to do it? thanks
Posted on 2001-06-28 06:15:00 by arkon
Under Win9x/ME use wininit.ini:

or to delete a file

Under WinNT/2K use MoveFileEx with the MOVEFILE_DELAY_UNTIL_REBOOT flag. Use NULL (not NUL) as target if you want to delete the file. regards, bAZiK P.S.: wininit.ini must be placed in the Windows directory :D This message was edited by bAZiK, on 6/28/2001 11:27:37 AM This message was edited by bAZiK, on 6/28/2001 11:37:50 AM
Posted on 2001-06-28 11:26:00 by bazik
hmm is it a way to do it programmatically under win 9x?
Posted on 2001-06-29 16:15:00 by Arkon
You mean with an API like under NT instead of the wininit.ini? Hmmm.... yes. But you need to write a sort of a driver (or use a deep registry key. I don't remember now....) The easiest way is useing the ini. Or, (just an Idea), under Win9x/ME rename the "wininit.exe" to "wininit.exe.bak" and place there an exe wich deletes the files for you :-)
Posted on 2001-07-01 08:05:00 by bazik
I just saw, you asked this before: http://www.hiroshimator.com/asmcommunity/messageboard/ShowMsg.asp?PDays=30&ThreadID=2233&ForumID=1 It isn't possible to immeadetly kill an open file, until the process wich locks the file is terminated. And that happens only on reboot, or if you kill the process.
Posted on 2001-07-01 17:14:00 by bazik
well but i heard some where that windows locks it just because it runs it and not because it REALLY needs it if it's true then it's possible to delete it anytime the question is how to unlock it
Posted on 2001-07-06 09:11:00 by arkon
http://www.anticracking.sk/EliCZ/export/DelMod.zip from elicz.cjb.net this prog can delete a running module. but it isn't shipped with source, but its easy to disasm.
Posted on 2001-07-06 16:06:00 by lw_ikx
all i told you it's possible!! :) thanks for the help now i need to dis asm it do you know a good 32 bit dis asm?
Posted on 2001-07-06 18:05:00 by Arkon
maybe you can ask elicz friendly for the source :) or even you can use his dll; it exports the function you need. and if you are gonna disasm it, i suggest simply softice. add the dll to the exp part in winice.dat and write a prog that calls the api + breakpoint it. good luck.
Posted on 2001-07-07 07:38:00 by lw_ikx