External class-calling
Posted
by anonymous
on Stack Overflow
See other posts from Stack Overflow
or by anonymous
Published on 2010-03-08T12:16:02Z
Indexed on
2010/03/08
12:21 UTC
Read the original article
Hit count: 289
Hi guys i have a bit of a problem with a few classes, and i would be very grateful if someone can help me out. So i have:
- Already compiled executable (for whom i don't have the source)
- A class in that program that i want to call
The program doesn't have export for the class, and that's my problem i don't have definition for this class, so is there a way to get a callback to this class?
Example: In the compiled executable:
foo::bar (example) { printf(example); }
My app:
CALLBACK(foo::bar, "this text must be passed as argument")
Or in other words i want to call a class in other executable (without having its source) and pass arguments to its function.
© Stack Overflow or respective owner