Accessing functions in plain binary files
Posted: Thu May 22, 2003 6:21 am
Hi there,
Well, I've just started designing my OS, and while thinking about the modularity issue, I've came across a question, about something I never needed before, and can't quite sure find how to handle it.
Ok, I've decided that modules should have no format, or be, plain binary; and what can be found in modules, are simply classes with virtual functions, which I may or may not call Interface. Now, what I don't know, is how to find out the address of the classes, and the functions to call... It may be easier, if instead of classes I have only C-type functions, but still, I don't quite know how this works.
Can anyone help me out with this issue?
Thanks in advance, and good programming.
Well, I've just started designing my OS, and while thinking about the modularity issue, I've came across a question, about something I never needed before, and can't quite sure find how to handle it.
Ok, I've decided that modules should have no format, or be, plain binary; and what can be found in modules, are simply classes with virtual functions, which I may or may not call Interface. Now, what I don't know, is how to find out the address of the classes, and the functions to call... It may be easier, if instead of classes I have only C-type functions, but still, I don't quite know how this works.
Can anyone help me out with this issue?
Thanks in advance, and good programming.