Dec 21st, 2005, 10:50 AM
#1
New Member
Process protection
Hi
I try to hook the api call terminateprocess, to protect my application for killing with the win taskmgr.
I have try the iat hooking example without any results.
http://www.vbforums.com/attachment.p...chmentid=39906
Is there a possible solution?
Joe
Dec 21st, 2005, 08:26 PM
#2
Re: Process protection
Welcome to the Forums.
Why do you need your process to be un-terminatable?
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (VBA, VB 6, VB.NET, C#)
Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Star Wars Gangsta Rap • Reps & Rating Posts • VS.NET on Vista (New) • Multiple .NET Framework Versions (New) • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel Core 2 Extreme Ed., 2 WD Raptor 10K RPM 150 GB HDs RAID 1, 2 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, IE 7, Office 2007
Dec 22nd, 2005, 01:50 AM
#3
New Member
Re: Process protection
Hy
I don't want that someone can kill my application. Because then all important data has been lost.
Joe
Dec 22nd, 2005, 04:11 AM
#4
Re: Process protection
Yeah but that's true of all applications. Processes need to be terminatable, in case they crash or whatever.
Also, bear in mind that code to prevent termination of a process (not that it is possible), and anything else of that nature, could constitute malware - so it is unlikely to be provided on this forum
Dec 22nd, 2005, 04:16 AM
#5
Re: Process protection
What you can do is take precautions from loosing data by doing some kind of auto-archiver or auto-saver until the user actually saves the records data or ???
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (VBA, VB 6, VB.NET, C#)
Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Star Wars Gangsta Rap • Reps & Rating Posts • VS.NET on Vista (New) • Multiple .NET Framework Versions (New) • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel Core 2 Extreme Ed., 2 WD Raptor 10K RPM 150 GB HDs RAID 1, 2 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, IE 7, Office 2007
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules