P
P
prometian2018-06-25 13:19:26
C++ / C#
prometian, 2018-06-25 13:19:26

How can I export class methods from dll?

Several class methods are declared as _declspec(dllexport) int __cdecl SomeFunction();
The class resides in the library and is created when it is loaded into memory. Destroyed as soon as the library is unloaded from memory (respectively).
How can I get the addresses of these methods so that I can work with them after the library has been successfully loaded?
Explicit binding is used.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2018-06-25
@res2001

Apparently using GetProcAddress().

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question