[gdal-dev] how use OGR c++ header file in C#

Mateusz Loskot mateusz at loskot.net
Tue Apr 22 07:05:19 EDT 2008


windwxc at sina.com wrote:
>  hi, every one. I am writing a project with C# and want use OGR
> to read postgis and then change data to shape, Now i find i need some
> functions included in C++header file, such as "ogrsf_frmts.h".I want
> to know if i must change c++ file to dll file and then add it to my
> project?  Ifind some header file often
> quotes other header files  so this way is very
> complex . Now I want to know if there are another
> method i can use.  thank you! best regard! 
>                                                                                               
> windsnow


This is a general question about using native code with managed code based
on .NET Framework and C# language. It's not directly related to GDAL/OGR.
So, I'd suggest you to post your question to MSDN Forums

http://forums.microsoft.com/msdn/default.aspx?siteid=1

Greetings
-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the gdal-dev mailing list