I think I figured it out.  I added -DCPL_DISABLE_STDCALL
to the  OPTFLAGS and commented out STDCALL=YES

After this it all worked.

Thank you
Mikhail

On 8/29/2011 5:29 PM, Mikhail Tchernychev wrote:
 Hi,

I came across this problem before, and I don't remember id I solved. The problem is then gdal18.dll is not exporting many functions. I use default build using VC 2010 express edition. For instance instead of function "GDALAllRegister" library exports "_GDALAllRegister@0"
GetProcAddress() fails in first case, but works for second.

I am using C interface.

Am I missing something very basic?

Thank you
Mikhail

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to