--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote: > > Yes, I was thinking the same thing. Note that Vec and Map already > have this with built-in "hard-coded" support.
> (For vec and map, I use the hard-coded service name release, but a > callback would have been better). Need BOOL to unregister when dll > unloaded. Yeah. > I use the signature approach in vec and map -- if the first few > bytes of the variable are some string with chars < 0x40, then it > calls the service. Easy to add a generalized version where authors > could register their own callback and signatures. Ah, right, so we just make sure every plugin has a unique sig for any of handles; you inspect every var going out of scope for any registered sig, and if found invoke callback. Neat. We need a public register of handle signatures. > But once I do this, you need to create a localcopy service for the > same reason that vec and map have one. Good point. > See the vec plugin for how it is implemented. Okay. I think I have copy in e.g. binary and unicode, but will revisit. Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
