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

[579 byte] By [david_roona] at [2007-11-27 0:00:58]
# 1
SegFault means you have something wrong with the code - it is accessing non-existant memory.
bschauwejavaa at 2007-7-11 15:51:40 > top of Java-index,Java HotSpot Virtual Machine,Specifications...