PDA

View Full Version : Calling system calls and library functions in C runtime


nabat1
September 23rd, 2010, 19:14
I know there is a way to call winapi in runtime in windows. I want to ask how can I call a system call and library functions in C in runtime (when I don't know what it can be)?

graudeejs
September 23rd, 2010, 20:28
(haven't tried)
http://www.newty.de/fpt/fpt.html

expl
September 24th, 2010, 00:14
I didn't understand the question. What do you mean by "when I don't know what it can be"? If you call a function you should know return type and parameter types as minimum.

trasz@
September 24th, 2010, 14:23
I think you might want to read about dlopen.