Forum Discussion
Altera_Forum
Honored Contributor
20 years agolinker question
hello, In my project, some global variables are placed in a library. These variables are used in a class that also has a global instance in that library. The constructor of that class places po...
Altera_Forum
Honored Contributor
20 years agoHi ,
> Any idea's? Perhaps, but ... > In my project, some global variables are placed in a library. Ok. > These variables are used in a class that also has a global instance in that library. The variables are referenced by an object that is ... instantiated by the code in the library? Is the object statically constructed? Or is there a static method (factory method)? > The constructor of that class places pointers to the data in a list that is defined > elsewhere. Elsewhere in the lib, app? Is the list statically allocated? > The data is never looked at directly, but through that list. ... it's not clear to me what you are doing. Could you provide a small concrete example, indicating what is in the library, and what is in the app, and how they interact? It may help me (and others) understand better. I think I'm close ... but my mind is not as good as it used to be ;-) Regards, --Scott