-
Dec 21st, 2005, 11:50 AM
#1
Thread Starter
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, 09: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 (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • 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 i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Dec 22nd, 2005, 02:50 AM
#3
Thread Starter
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, 05: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, 05: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 (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • 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 i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
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
|
Click Here to Expand Forum to Full Width
|