rabotin wrote:

> After that , using db_open_database(driver,&handle) command launch a
> segmentation fault. Is it because my handle is a null value ?

Possibly; change:

>       std::cout << &driver << std::endl;

to:

>       std::cout << driver << std::endl;

to confirm this.

> Are some commands missing to access or start dbf driver in my script ?

I can't see anything wrong, other than failing to check the return
value from db_start_driver().

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to