English
Regulars table & Café

GetModuleHandle.

 


Description:

GetModuleHandle determined the handle of an loaded DLL or the instance-Handleeiner EXE.




Deklaration:

DEF @GetModuleHandle(1) !KERNEL32,GetModuleHandleA




Parameter:

1.Parameter: address one Strings or Memory-Variable with a String, the whom names the loaded DLL or EXE angibt. this Parameter can also 0 his. it'll then the instance-lever the Aufrufenden Prozesses determined.



Return Value:

0 if The DLL not memory is, otherwise the lever the DLL.


Examples:

CompileMarkSeparation
DEF @GetModuleHandle(1) !"KERNEL32","GetModuleHandleA"
Declare MHANDLE&,Module$
LET MODULE$=$SYSPATH+"Advapi32.DLL"
LET MHANDLE&=@GetModuleHandle(@ADDR(Module$))

IF MHANDLE&=0

    @Messagebox("Die DLL "+Module$+" ist nicht geladen.","Mist passiert!",64)

else

    @Messagebox("Die DLL "+Module$+" ist geladen und mit ihr kann gearbeitet werden.","Hurra!",64)

05/25/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.243 Views

Untitledvor 0 min.
H.Brill12/22/19
Donnie03/30/13
H.Hackl03/22/12

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie