Andre Pang wrote: > Well, you don't have to typecheck plugins. If you don't, > though, your program will simply segfault :). If you don't > typecheck, you simply have a random pointer you know nothing > about, and are expecting it to be (1) proper code, and (2) > accept and return exactly the correct types for its > parameters and return value. (Note that is exactly what you > do in C when you get at a plugin's function via dlsym > () and cast it from a void* to whatever function type you > think it's meant to be...).
I will have to concede my ignorance on the OS/Linux way of doing plugins, but a quick google of dlsym has given me many hours of reading material to consider :-o I guess I am kind of used to Windows/COM holding my hand for this stuff. Adelle. _______________________________________________ coders mailing list coders@slug.org.au http://lists.slug.org.au/listinfo/coders