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

Bruno Scott bscott at geomapgis.com
Fri Nov 23 11:59:25 EST 2007


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.



More information about the fdo-users mailing list