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

Traian Stanev traian.stanev at autodesk.com
Fri Nov 23 10:17:02 EST 2007


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


More information about the fdo-users mailing list