This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem while using lib which is created by myself

Well, things like this.

I have created a lib C in project A using KeilC. and now the lib C is used in another project B. problem is that some global variables defined in lib C have the same address with some global variables in project B. but they don't have the same varible name. What's the matter, does anybody encountered it before?

The problem is resoved after I changed the global variable's type in project B. like change unsigned char ucVar; to unsgined int ucVar.

0