I'm sorry - you used the word link - which I took to mean a link edit -- what you do when you create a runtime module or dll from object code.
There is no handle or pointer to a dll entry-point, per se. It gets defined when you create your program and run it. This is assuming I didn't get the wrong meaning, again. Your code maintains a reference (kind of a pointer or handle ).
You can use function pointers to refer to a dll entry point, or any other function's entry point.
You define a function pointer like this:
p now points to the function entry point for myfunction.Code:int (* p)(); (*p)() = myfunction; ...... int myfunction(void){ }
Eventually, I may accidentally provide what you want....




Reply With Quote