Hi Jenny, > Thanks for your advice and the files. I followed your instruction(installed > unixODBC-2.0.7-3, config /etc/odbc.ini, and add sapdb odbc lib to > /etc/ld.so.conf. But I still got segmentation fault. I got -709 error if the > database is not started, but after I started database, I got the segmentation > fault. I tried to debug it, it happened when it tried to call eval.c.
Hm, I'm I afraid I can't help you on this, sorry. I just installed everything I could find, then tried it, and it worked at once. So I don't have much experience at solving problems there. > Did you change anything in the sample program? If you do not mind, > can you send me your program which works? Also, do you have any > good links about ODBC? no problem. You will find my sample "testselects" attached. This was written to test those -904 Problems earlier this week. Some guy said I did a lot of wrong stuff there, but not how to do it right :(. But it should get you started. I used the stl library, and some of my functions, so I attached those h-files also. And here are some links: http://home.snafu.de/~dittmar/sapdbdev/index.html http://sapdb.2scale.net/moin.cgi http://www.mybytes.de/sapdb/ http://sapdb.icf.net/ http://sapdb.icf.net/cgi/firststep.html http://www.crionics.com/faq/sapdb.html Greetings, Axel
utilsbase.h
Description: Binary data
utilstring.h
Description: Binary data
testselects.cpp
Description: Binary data
Makefile
Description: Binary data
