[gdal-dev] Exporting functions under Windows

2011-08-29 Thread Mikhail Tchernychev
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(

Re: [gdal-dev] Exporting functions under Windows

2011-08-29 Thread Mikhail Tchernychev
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