Reading file attachment

Hi,

I am trying to read contents from a file attachment in the database. I think I can do this by loading the file into memory using NSFDbReadObject. However, I am getting the following error message. Any idea?

Stack base = 0xbfffebd0, Stack size = 416 bytes

Fatal Error signal = 0x0000000b PID/TID = 4623/1110239968

Segmentation fault

Thanks in advance!

Subject: RE: Reading file attachment

It looks like you probably have an error in your code, since it is possible to call this function without getting a segmentation fault.