T
T
Troodi Larson2017-04-16 19:49:15
Programming
Troodi Larson, 2017-04-16 19:49:15

How to implement autorun dll?

Good evening. Do not tell me how can I make my dll autorun at system startup? For exe there is an autoload registry key, but for dll? Then the second question: and if it is possible, is it possible without admin rights (because exe is possible). I will be grateful for any answer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Kaptur, 2017-04-17
@drem1lin

Autoloading dll is a bad thing.
1. If you need it on one car or a fleet of similar ones, then you can use the old trick. System programs load dll libraries and they do it in the following way, first they look for them in the same folder where they are, then in the system directory. You can find an application that loads libraries that are not in the system, and put your library renamed under the one that the program is looking for. You can make such a search using ProcMon, FileMon and similar software + some kind of PE Explorer to see the names of exported dlls.
2. Write yourself a program that will load your dll and hang it in autoload.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question