English
Regulars table & Café

GetModuleFileName.

 


Description:

GetModuleFileName determined whom way and Filenames to that lever of/ one loaded EXE or of/ one loaded DLL.




Deklaration:

DEF @GetModuleFileName(3) !KERNEL32,GetModuleFileNameA




Parameter:

1.Parameter: lever the DLL or instance-lever the EXE, its way and Filenames one detect wants. this Parameter can also 0 his, it'll then the instance-lever the aufrufenden Prozesses determined.
2.Parameter: enough dimensionierte Memory-Variable, The way and Filenames the EXE or DLL aufnimmt.
3.Parameter: Size of Parameter 2 in Bytrs.



Return Value:

0 with Error, otherwise The Number of letters, The in Parameter 3 copies get.


Examples:

CompileMarkSeparation
DEF @GetModuleFileName(3) !"KERNEL32","GetModuleFileNameA"
Declare ModulePath#,ModulePath$
DIM ModulePath#,261
@GetModuleFileName(%HINSTANCE,ModulePath#,261)
LET ModulePath$=@STRING$(ModulePath#,0)
Dispose ModulePath#
@Messagebox(ModulePath$,"Pfad zur EXE",64)
Dispose Modu
#

[keywords:d510ff172e]
way Filenames lever detect transfiguring %HINSTANCE instance-lever Programmm EXE DLL
[/keywords:d510ff172e]
 
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.653 Views

Untitledvor 0 min.

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