[comp.sys.mac.programmer] Linking Objects at Run-Time in Think C 4.0

soudan@iitmax.IIT.EDU (Bassel Soudan) (10/10/90)

	I am putting together a logic simulation program in think c 4.0

	The application will have some basic components defined internally. 
(such as Registers, Adders, and a couple more very basic components.) 
What I would like to do is give the user the ability to define their own 
components based on these then use them in their future designs.

	The twist here is that I would like to make use of the Object Oriented
Design environment in Think C as much as possible and would like to have the
users define their components as objects in Think c (according to some specific
requirements) and then include these descriptions in the workings of my program
so that they can be used in future designs.

	Since I don't want to keep the source code floating with every copy
of the program, I would like to have the users build their components as
external libraries and have these libraries included in the program at runtime.
In other words, the complete component description (including object description
its methods and everything it needs.) will be included in a separate library.
The trick here is how to have this object included in the workings of my
program? And how to actually bring it into the program at runtime?

	I think I have figured out a way of finding where the library file 
that includes the description of the object is, but I still can't figure out 
how to direct the messages to this external thing.

	If you have any insight on this or had any experience with something
like that please e-mail me direct to 

		soudan@iitmax.iit.edu

	or post to the net. To save net bandwidth, it is better to e-mail me
direct. If I get enough responese I will summarize and post to the net.