D
D
dpolyakoio2017-04-04 09:52:39
Delphi
dpolyakoio, 2017-04-04 09:52:39

How to get the address of an executable file in Delphi?

Hello!
Can you please tell me how to get a string with the address of the program's executable file in Delphi?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Shumkin, 2017-04-07
@ashumkin

to the heap:
GetModuleName(hInstance)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question