I think you'll have to provide more information. What database? What OS? What exactly is the "thing" the C++ method returns? How do you use it later?
There might be a way to create the right DBI object wrapping the connection opened elsewhere, but if there is it will be driver specific.
Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re: DB -> C++ -> XS/Swig -> DBI -> Perl
by Jenda
in thread DB -> C++ -> XS/Swig -> DBI -> Perl
by AbominableMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |