Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: how do I get hmodule for plugin dll? (Read 2968 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

how do I get hmodule for plugin dll?

Calls to GetModuleFileName(NULL) and GetModuleHandle(NULL) returns Filename and hmodule for the foobar executable only.

How then, may I find hModule of the DLL where the code is actually resided in? In the case when I need to use the resource of in the DLL?

right now, I can only hardcode the name of the dll, which is not too good

how do I get hmodule for plugin dll?

Reply #1
core_api::get_my_instance()
Microsoft Windows: We can't script here, this is bat country.

how do I get hmodule for plugin dll?

Reply #2
thx