jorge Posted February 6, 2004 Posted February 6, 2004 Hello, I'm working a a class, at some point i need to call _handler(a function) but i'd like the user to be able to costimize what happens with the data, so how do i do that if i compile my class in a dll? can i call a funtion in the main aplication or let the user injet code? Quote Jorge - http://www.blackdot.be/?page=apache.htm
Administrators PlausiblyDamp Posted February 6, 2004 Administrators Posted February 6, 2004 Could you give a bit more / clearer details on what you are trying to do? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
jorge Posted February 7, 2004 Author Posted February 7, 2004 ok, I made a class that create's a tcplistener, and i then have a thread that listend for connections, when there is a connection i'd liek to sData(string send via the connetion) toa function (_hander) and hander passes back sDataOut with will be return to the client. now i've added the funtion into the class, but it's useless when i compile it as dll, because the user can change what happens in the _hander funtion. so i would like to know if it is posible to call the _hander function from the main application(no the dll). hope this explance it a bit Quote Jorge - http://www.blackdot.be/?page=apache.htm
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.