Alessandro Del Piero wrote:
>
>
> Hi Frank,
>
> Just following up Mariano's question, I've got FWTools 1.3.4 version
> and had it installed already. It comes with the vb6 development
> source code. Right. OK~
>
> In order to compile it, I manually edited GDALCore.bas and made all
> dll references point to "d:\Program Files\FWTools134\bin\gdal_fw.dll"
> that is exactly where I had it installed. However, the problem
> occurred when I ran the vb project as follows:
>
> "Real time error '53':
> File cannot be found 'd:\Program Files\FWTools134\bin\gdal_fw.dll'"
>
> I am pretty sure the file is there and the directory path is correct.
>
> Then I was thinking if I needed to get this dll registered with
> RegSvr32 command before using it. But it told that "DllRegisterServer
> entry point cannot be found, cannot register this file".
>
> I have been desperately keen on getting it work with my project. Hope
> anybody would help me out. Appreciate that very much!
Alex,
My normal practice when trying to use FWTools with VB6 is to alter the
"starts in directory" path for VB6 icon to be the FWTools bin directory.
Did you try this? Other than copying all the contents of FWTools\bin
to C:\windows\system32 (not advised!) this was the only way I found to
ensure that FWTools stuff got picked up by the VB6 runtime.
I am thinking we should take the material currently generated from the
GDAL source tree at:
http://www.gdal.org/vb6_tutorial.html
and make this into a wiki topic, so we can updated it with information
about using VB6 with FWTools and so forth. I don't really use VB6 myself
so I'd like to empower the VB6 using folks to add information, hints, etc.
Let me know if you think this would be a good idea, and you would be
interested in adding information as you use the capabilities.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@...
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org