[fdo-internals] FDO connect by library

Jason Birch jason at jasonbirch.com
Tue Aug 10 12:10:33 EDT 2010


I would have preferred not to not see a single function mean two
different things, but if none of the real developers on the list care
I'm not going to force the issue.

On 2010-08-10, Greg Boone <greg.boone at autodesk.com> wrote:
> Are there any further comments/alternatives to this proposal?
>
> Regards,
> Greg
>
> -----Original Message-----
> From: fdo-internals-bounces at lists.osgeo.org
> [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Greg Boone
> Sent: Monday, August 09, 2010 11:36 AM
> To: FDO Internals Mail List
> Subject: RE: [fdo-internals] Re: FDO connect by library
>
> This would probably work.
>
> -----Original Message-----
> From: fdo-internals-bounces at lists.osgeo.org
> [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
> Sent: Friday, August 06, 2010 7:20 PM
> To: fdo-internals at lists.osgeo.org
> Subject: [fdo-internals] Re: FDO connect by library
>
>
> Would it make something like this possible?
>
> void RegisterProviderByLibrary(FdoString* libPath)
> {
>     FdoPtr<IProviderRegistry> prvReg =
> FdoFeatureAccessManager::GetProviderRegistry();
>     FdoPtr<FdoIConnectionManager> connMgr =
> FdoFeatureAccessManager::GetConnectionManager();
>
>     FdoPtr<FdoIConnection> conn = connMgr->CreateConnection(libPath);
>     FdoPtr<FdoIConnectionInfo> connInfo = conn->GetConnectionInfo();
>
>     prvReg->RegisterProvider(connInfo->GetProviderName(),
>                                        connInfo->GetDisplayName(),
>                                        connInfo->GetVersion(),
>
> connInfo->GetFeatureDataObjectsVersion(),
>                                        libPath);
> }
>
> The ability to register new providers using information that already exists
> in the provider library itself?
>
> - Jackie
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/FDO-connect-by-library-tp5381684p5382571.html
> Sent from the FDO Internals mailing list archive at Nabble.com.
> _______________________________________________
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-internals
> _______________________________________________
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-internals
> _______________________________________________
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-internals
>


More information about the fdo-internals mailing list