Running Procedure from main code from a library

A Callback function?

You've intrigued me DaveK.
It sounds essentially like what i wanted to do in the first place.
How would i go about accomplishing such a task exactly?

I could elaborate more on what I'm thinking, but i will probably only expose my limited knowledge.
this function pointer you speak of sounds to be important to me though.