memory problem
Hi everyone,
I have a problem with a program and I am not sure how to do something:
I have a system that has to load a dictionary and then do something with it. The whole data structure of the dictionary is written in C.
Now I have a library that loads it and I want to use the loaded dictionary with other libraries. Now it doesn't work as it returns segfault when I try to access it.
I wanted to know if someone can tell me how I can allocate memory in a library and use the result in other libraries.
Thank you in advance
David Roon

