I will be willing to pay for this information: I am using micorvision 2 and need to know how I can construct a library of objects and then how I can reference those objects from a main program. For example, suppose I want to write a module that sends characters to the serial port and write a module that recieves a module from the serial port. Next I want to create a library that contains read.obj and send.obj in a library. Next I want to write a main program that calls send.obj and read.obj. How do I create the libray of the two object modules, how do I reference the object modules (or library) in my main program? Thank you so much for anyone who can help me on this. Jim Gilliam, K6qe@earthlink.net
Are you using full tools or just eval tools. In C51/C251 Eval Tools it is not possible to create custom libraries. The C251 toolchain contains in the folder ..\C251\EXAMPLES\MCB251 and example for creating an serial I/O library. This library is used other C251 examples. It is easy to port this library concept to the C51 so maybe you take a look at this first.
I am using the full purchased version of c51 and can create libraries. I will extend the same offer to you. Jim