[fdo-users] Re: BulkCopy using IFeatureReader (using MgFeatureReader)

Greg Boone greg.boone at autodesk.com
Wed Mar 16 10:51:55 EDT 2011


>> You could try an adapter class that implements IFeatureReader and maps the calls to your MgFeatureReader

This should work. Internally in BC the managed code does not try and cast to an unmanaged class.

Greg

-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Wednesday, March 16, 2011 7:31 AM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] Re: BulkCopy using IFeatureReader (using MgFeatureReader)

No there isn't.

IFeatureReader and MgFeatureReader are two different things with no common inheritance ancestry.

You could try an adapter class that implements IFeatureReader and maps the calls to your MgFeatureReader, but the FDO .net wrapper being a C++/CLI mixture, I would wager the Autodesk BulkCopy class be expecting the IFeatureReader wrapping some unmanaged C++ class. So you could probably scratch this idea as well.

- Jackie

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/BulkCopy-using-IFeatureReader-using-MgFeatureReader-tp6176075p6176149.html
Sent from the FDO Users mailing list archive at Nabble.com.
_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users


More information about the fdo-users mailing list