class calling function from main aplication?

jorge

Well-known member
Joined
Jul 13, 2003
Messages
239
Location
Belgium
Hello,
Im working a a class, at some point i need to call _handler(a function)
but id 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?
 
ok,
I made a class that creates a tcplistener, and i then have a thread that listend for connections, when there is a connection id liek to sData(string send via the connetion) toa function (_hander)
and hander passes back sDataOut with will be return to the client.
now ive added the funtion into the class, but its 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
 
Back
Top