bnitelf@gmail.com

How to write Managed C++ proxy class correctly

Discussion created by bnitelf@gmail.com on Sep 21, 2017
Latest reply on Aug 3, 2018 by bnitelf@gmail.com

I've look at this document 

https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#26b7a578-7854-4ff9-b96c-948eded73626.htm 

About performance .Net and Managed C++

 

What I want to do is writing Managed C++ proxy class to improve the performance of my desktop app which use ArcObject.

 

I've successfully created a test project (visual c++, CRL class project) and reference ESRI dll.

And able to use ArcOcject interfaces and classes. But what I noticed is that I can't use IPointPtr which presents in the example in the document above.

 

I can use IFeatureWorksapce but not IFeatureWorkspacePtr

 

So I think what I'm doing now is incorrect.

 

Could you please guide me what to do to able to use IFeatureWorkspacePtr

 

Thanks in advance.

Outcomes