[fdo-users] Problem with C++ application with OGR provider

Traian Stanev traian.stanev at autodesk.com
Fri Nov 23 12:25:23 EST 2007


It's likely that the OGR provider zip file is misnamed.


Traian


> -----Original Message-----
> From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-
> bounces at lists.osgeo.org] On Behalf Of Bruno Scott
> Sent: Friday, November 23, 2007 12:24 PM
> To: fdo-users at lists.osgeo.org
> Subject: RE: [fdo-users] Problem with C++ application with OGR provider
>
>
> I comfirm there is something wrong in the 3.2.2 binaries
>
> I have re-downloaded these two files from
> http://fdo.osgeo.org/downloads.html
> OGRProvider-3.2.2.win32.zip
> fdosdk-3.2.2_win32_release.tar.gz
>
> Rebuild the app with them
> and i got the error message.
> Either it's the fdo or the ogr i can't tell
>
> Bruno
>
>
> Bruno Scott wrote:
> >
> > Got it working.
> > i've downloaded the 3.2.1 FDO binaries + OGR 3.2.1 and it works
> > Even if my app is compiled with the 3.2.2 FDO library
> >
> > There must be something wrong with the 3.2.2 binaries
> > i am pretty sure to have compile everything with that 3.2.2 versions
> and
> > use ogr version 3.2.2
> > i will double check and tell you
> >
> > Thanks
> >
> >
> >
> > Traian Stanev wrote:
> >>
> >>
> >> That explains why it works with fdo2fdo.
> >>
> >>
> >> Traian
> >>
> >>
> >>> -----Original Message-----
> >>> From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-
> >>> bounces at lists.osgeo.org] On Behalf Of Bruno Scott
> >>> Sent: Friday, November 23, 2007 11:59 AM
> >>> To: fdo-users at lists.osgeo.org
> >>> Subject: RE: [fdo-users] Problem with C++ application with OGR
> provider
> >>>
> >>>
> >>> fdo2fdo uses its own fdo dll, they have version 3.2.0.0
> >>>
> >>>
> >>> Traian Stanev wrote:
> >>> >
> >>> >
> >>> > Does your fdo2fdo use an FDO.dll that is local to its exe
> directory?
> >>> What
> >>> > version is that dll if it exists?
> >>> >
> >>> > Traian
> >>> >
> >>> >
> >>> >> -----Original Message-----
> >>> >> From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-
> >>> >> bounces at lists.osgeo.org] On Behalf Of Bruno Scott
> >>> >> Sent: Friday, November 23, 2007 11:26 AM
> >>> >> To: fdo-users at lists.osgeo.org
> >>> >> Subject: RE: [fdo-users] Problem with C++ application with OGR
> >>> provider
> >>> >>
> >>> >>
> >>> >> i used ListDlls.exe to show what dlls are loaded with by my apps
> and
> >>> it
> >>> >> shows
> >>> >> the good directory.
> >>> >> In this directory all fdo dlls are have version 3.2.2.65
> >>> >> except for xalan,xercess and gdal of course, that are not fdo
> dlls.
> >>> >> OGRProvider.dll does not show any file version :(
> >>> >>
> >>> >>
> >>> >>
> >>> >> Traian Stanev wrote:
> >>> >> >
> >>> >> > Looks like some of your dlls are 3.2.1 and others are 3.2.2.
> >>> >> >
> >>> >> > The signature of FdoIDisposable::Release was changed between
> those
> >>> >> two
> >>> >> > releases.
> >>> >> >
> >>> >> >
> >>> >> > Traian
> >>> >> >
> >>> >> >
> >>> >> >> -----Original Message-----
> >>> >> >> From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-
> >>> >> >> bounces at lists.osgeo.org] On Behalf Of Bruno Scott
> >>> >> >> Sent: Friday, November 23, 2007 11:00 AM
> >>> >> >> To: fdo-users at lists.osgeo.org
> >>> >> >> Subject: RE: [fdo-users] Problem with C++ application with
> OGR
> >>> >> provider
> >>> >> >>
> >>> >> >>
> >>> >> >>
> >>> >> >> Depends shows that in FDOCOMMON.DLL
> >>> ?Release at FdoIDisposable@@QAEHXZ
> >>> >> is
> >>> >> >> missing
> >>> >> >>
> >>> >> >> i have fdo2fdo with the same ogrprovider.dll , and it fdo2fdo
> >>> >> connect
> >>> >> >> without errors.
> >>> >> >> So i must do something wrong.
> >>> >> >>
> >>> >> >>
> >>> >> >>
> >>> >> >> Traian Stanev wrote:
> >>> >> >> >
> >>> >> >> >
> >>> >> >> > It means it couldn't find the function CreateConnection()
> in
> >>> the
> >>> >> >> provider
> >>> >> >> > dll. I don't remember whether I compiled the 3.2.2 OGR
> binary
> >>> with
> >>> >> VS
> >>> >> >> SP1
> >>> >> >> > or not and whether that would make a difference. It's worth
> it
> >>> to
> >>> >> use
> >>> >> >> > depends.exe to check if the provider is missing any
> >>> dependencies.
> >>> >> >> >
> >>> >> >> >
> >>> >> >> > Traian
> >>> >> >> >
> >>> >> >> >
> >>> >> >> > -----Original Message-----
> >>> >> >> > From: fdo-users-bounces at lists.osgeo.org
> >>> >> >> > [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of
> Greg
> >>> Boone
> >>> >> >> > Sent: Friday, November 23, 2007 10:00 AM
> >>> >> >> > To: FDO Users Mail List
> >>> >> >> > Subject: RE: [fdo-users] Problem with C++ application with
> OGR
> >>> >> >> provider
> >>> >> >> >
> >>> >> >> > Can you send me the app? I will try it and see what I find.
> >>> >> >> >
> >>> >> >> > -----Original Message-----
> >>> >> >> > From: fdo-users-bounces at lists.osgeo.org
> >>> >> >> > [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of
> Bruno
> >>> >> Scott
> >>> >> >> > Sent: Friday, November 23, 2007 5:34 AM
> >>> >> >> > To: fdo-users at lists.osgeo.org
> >>> >> >> > Subject: [fdo-users] Problem with C++ application with OGR
> >>> >> provider
> >>> >> >> >
> >>> >> >> >
> >>> >> >> > I have a small MFC C++ application builded with Visual
> studio
> >>> 2005
> >>> >> >> > I successfully use it with all osgeo provider ecept for OGR
> >>> >> >> > I compile against the fdo 3.2.2 binaries and i use the ogr
> >>> >> provider
> >>> >> >> 3.2.2
> >>> >> >> > binary
> >>> >> >> >
> >>> >> >> > As soon as a try to connect to the ogr provider
> >>> >> >> >
> >>> >> >> >     FdoPtr<FdoIConnection>             connectionPtr;
> >>> >> >> >     static IConnectionManager*         pConnectionManager
> >>> >> >> =
> >>> >> >> > NULL;
> >>> >> >> >     pConnectionManager =
> >>> >> >> FdoFeatureAccessManager::GetConnectionManager();
> >>> >> >> >     connectionPtr =
> >>> >> >> > pConnectionManager-
> >CreateConnection(_T("OSGEO.OGR.3.2.2"));
> >>> >> >> >
> >>> >> >> > I got this message in visual studio
> >>> >> >> >
> >>> >> >> >     'FDLWizard.exe': Loaded OGRProvider.dll', No symbols
> >>> loaded.
> >>> >> >> >     First-chance exception at 0x76df3baf in FDLWizard.exe:
> >>> >> >> 0xC0000139:
> >>> >> >> > Entry
> >>> >> >> > Point Not Found.
> >>> >> >> >     'FDLWizard.exe': Unloaded OGRProvider.dll'
> >>> >> >> >
> >>> >> >> > And it finnaly throw an exception
> >>> >> >> >
> >>> >> >> >     Unable to load the FDO Provider: The specified
> procedure
> >>> could
> >>> >> >> not be
> >>> >> >> > found.
> >>> >> >> >
> >>> >> >> > Someone has a idea?
> >>> >> >> >
> >>> >> >> > Bruno
> >>> >> >> > --
> >>> >> >> > View this message in context:
> >>> >> >> > http://www.nabble.com/Problem-with-C%2B%2B-application-
> with-
> >>> OGR-
> >>> >> >> provider-tf4860799s18162.html#a13909997
> >>> >> >> > Sent from the fdo-users mailing list archive at Nabble.com.
> >>> >> >> >
> >>> >> >> > _______________________________________________
> >>> >> >> > fdo-users mailing list
> >>> >> >> > fdo-users at lists.osgeo.org
> >>> >> >> > http://lists.osgeo.org/mailman/listinfo/fdo-users
> >>> >> >> > _______________________________________________
> >>> >> >> > fdo-users mailing list
> >>> >> >> > fdo-users at lists.osgeo.org
> >>> >> >> > http://lists.osgeo.org/mailman/listinfo/fdo-users
> >>> >> >> > _______________________________________________
> >>> >> >> > fdo-users mailing list
> >>> >> >> > fdo-users at lists.osgeo.org
> >>> >> >> > http://lists.osgeo.org/mailman/listinfo/fdo-users
> >>> >> >> >
> >>> >> >> >
> >>> >> >>
> >>> >> >> --
> >>> >> >> View this message in context: http://www.nabble.com/Problem-
> with-
> >>> >> >> C%2B%2B-application-with-OGR-provider-
> >>> tf4860799s18162.html#a13914578
> >>> >> >> Sent from the fdo-users mailing list archive at Nabble.com.
> >>> >> >>
> >>> >> >> _______________________________________________
> >>> >> >> fdo-users mailing list
> >>> >> >> fdo-users at lists.osgeo.org
> >>> >> >> http://lists.osgeo.org/mailman/listinfo/fdo-users
> >>> >> > _______________________________________________
> >>> >> > fdo-users mailing list
> >>> >> > fdo-users at lists.osgeo.org
> >>> >> > http://lists.osgeo.org/mailman/listinfo/fdo-users
> >>> >> >
> >>> >> >
> >>> >>
> >>> >> --
> >>> >> View this message in context: http://www.nabble.com/Problem-
> with-
> >>> >> C%2B%2B-application-with-OGR-provider-
> tf4860799s18162.html#a13915066
> >>> >> Sent from the fdo-users mailing list archive at Nabble.com.
> >>> >>
> >>> >> _______________________________________________
> >>> >> fdo-users mailing list
> >>> >> fdo-users at lists.osgeo.org
> >>> >> http://lists.osgeo.org/mailman/listinfo/fdo-users
> >>> > _______________________________________________
> >>> > fdo-users mailing list
> >>> > fdo-users at lists.osgeo.org
> >>> > http://lists.osgeo.org/mailman/listinfo/fdo-users
> >>> >
> >>> >
> >>>
> >>> --
> >>> View this message in context: http://www.nabble.com/Problem-with-
> >>> C%2B%2B-application-with-OGR-provider-
> tf4860799s18162.html#a13915245
> >>> Sent from the fdo-users mailing list archive at Nabble.com.
> >>>
> >>> _______________________________________________
> >>> fdo-users mailing list
> >>> fdo-users at lists.osgeo.org
> >>> http://lists.osgeo.org/mailman/listinfo/fdo-users
> >> _______________________________________________
> >> fdo-users mailing list
> >> fdo-users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/fdo-users
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Problem-with-
> C%2B%2B-application-with-OGR-provider-tf4860799s18162.html#a13915824
> Sent from the fdo-users mailing list archive at Nabble.com.
>
> _______________________________________________
> fdo-users mailing list
> fdo-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-users


More information about the fdo-users mailing list