Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Detect with injected DLL (https://www.delphipraxis.net/112095-detect-injected-dll.html)

salim3023 15. Apr 2008 01:06


Detect with injected DLL
 
I have an Application that i want to perfect it .
my application uses a Second Form ( Form2 ).
i have developped a Context Menu into the Explorer it's &Copy File Path ...

so what i want to do is :

I want to inject a DLL into the Processes List so that when a user clicks on a File with my Context Menu , the Form2 of my application will automatically appear ( i don't want my main application form to be shown so only its Form2 ) , then i have some procedures and functions to be executed .

could any one helps please .

salim3023 15. Apr 2008 19:13

Re: Detect with injected DLL
 
Please Help or is there any other Suggestion or direction :
All what want is to call the Form2 only i mean when someone clicks with the Context Menu the result will be only viewed in the Form2 . SO only this form will be shown but not the Main Form .

i have tried

Delphi-Quellcode:
Application.mainform.hide;
but when the form2 is shown also the mainapplication form is shown ..


Thanks

toms 15. Apr 2008 19:16

Re: Detect with injected DLL
 
Hello

Delphi-Quellcode:
property ShowMainForm: Boolean;
Description

Use ShowMainForm to control whether and when the application shows its main form.

The default value of True is set in the constructor. When ShowMainForm is True the main window shows automatically when the application starts. The MainForm property specifies which form is the main form.

To hide the main form at startup, set ShowMainForm to False in the main project file before the call to Application.Run. Make sure that the Visible property of the form is also False.

salim3023 15. Apr 2008 19:22

Re: Detect with injected DLL
 
Thank you toms ,
but how could i do : when the user clicks with the context menu on a file ( in my exemple my context menu is : &Copy File Path ... ) then the result will lead to show only the Form2 of the application .

is it possible to use Postmessage from the my ShellMenu.DLL or what should i use .


thank


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:54 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz