[fdo-users] OGR 3.3 Provider runtime error

Jackie Ng jackie.ng at aecsystems.com.au
Wed Jan 30 22:30:04 EST 2008


It was a release build.

- Jackie


Traian Stanev wrote:
> 
> Were you doing a Debug or Release build?
> 
> ________________________________________
> From: fdo-users-bounces at lists.osgeo.org
> [fdo-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
> [jackie.ng at aecsystems.com.au]
> Sent: Wednesday, January 30, 2008 7:20 PM
> To: fdo-users at lists.osgeo.org
> Subject: RE: [fdo-users] OGR 3.3 Provider runtime error
> 
> I've built FDO and providers from source, and still get the error.
> 
> I've set manifest to off in the OGRProvider vcproj file, rebuilt
> everything
> from source, still no good.
> 
> I rewrote the C# test code in native C++, still the same error.
> 
> I'm out of ideas :(
> 
> - Jackie
> 
> 
> Traian Stanev wrote:
>>
>>
>> The depends dump looks good, however I just thought of what may be
>> causing
>> this. Some time ago Kenneth posted about a similar problem. I remember
>> him
>> mentioning that it was due to a manifest being embedded in the
>> OGRProvider
>> dll at build time. Removing the embedded manifest fixed the problem for
>> him. We need to check the OGRProvider vcproj file for that problem and
>> fix
>> it if the manifest is turned on.
>>
>>
>> Traian
>>
>> -----Original Message-----
>> From: fdo-users-bounces at lists.osgeo.org
>> [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Traian Stanev
>> Sent: Thursday, January 24, 2008 11:07 PM
>> To: fdo-users at lists.osgeo.org
>> Subject: RE: [fdo-users] OGR 3.3 Provider runtime error
>>
>>
>> Depends can export the dependency graph to a file. If you could export
>> yours and send it over I can take a quick look. Since the file can be
>> large, email it to me only.
>>
>> Traian
>>
>>
>> -----Original Message-----
>> From: fdo-users-bounces at lists.osgeo.org
>> [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
>> Sent: Thursday, January 24, 2008 11:04 PM
>> To: fdo-users at lists.osgeo.org
>> Subject: RE: [fdo-users] OGR 3.3 Provider runtime error
>>
>>
>> That is correct, there are no red C++ functions listed.
>>
>> - Jackie
>>
>>
>> Traian Stanev wrote:
>>>
>>>
>>> So, you open depends for OGRProvider.dll, pick FDO.dll from the
>>> tree-view
>>> on the top left, and then look on the right side. It will show functions
>>> from FDO.dll that the OGRProvider calls. Most of them will have a green
>>> "C++" next to them. Are you saying none of them have a red C++ if you do
>>> this?
>>>
>>> Traian
>>>
>>>
>>>> -----Original Message-----
>>>> From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-
>>>> bounces at lists.osgeo.org] On Behalf Of Jackie Ng
>>>> Sent: Tuesday, January 22, 2008 3:03 AM
>>>> To: fdo-users at lists.osgeo.org
>>>> Subject: RE: [fdo-users] OGR 3.3 Provider runtime error
>>>>
>>>>
>>>> I've combed through the list of functions (OGRProvider.dll and directly
>>>> related dlls) and couldn't find any red ones. However the log window
>>>> did say
>>>> there was at least one unresolved export function in one of the delay-
>>>> load
>>>> dependent modules, but it doesn't say which one??
>>>>
>>>> - Jackie
>>>>
>>>>
>>>> Traian Stanev wrote:
>>>> >
>>>> >
>>>> > DWMAPI.dll is a common false positive that depends throws. That's not
>>>> your
>>>> > actual problem.
>>>> > In depends, look in one of the right panes (the one in the middle,
>>>> not the
>>>> > top right), where it lists all the dependent DLL functions that are
>>>> needed
>>>> > by the provider. See if any of them are listed in red.
>>>> >
>>>> > Traian
>>>> >
>>>> >
>>>> >
>>>> > ________________________________________
>>>> > From: fdo-users-bounces at lists.osgeo.org
>>>> > [fdo-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
>>>> > [jackie.ng at aecsystems.com.au]
>>>> > Sent: Monday, January 21, 2008 11:49 PM
>>>> > To: fdo-users at lists.osgeo.org
>>>> > Subject: [fdo-users] OGR 3.3 Provider runtime error
>>>> >
>>>> > Hi List,
>>>> >
>>>> > I have an application that interrogates a provider's connection
>>>> > properties,
>>>> > but when I want to get the connection properties of the OGR provider.
>>>> I
>>>> > get
>>>> > the following error:
>>>> >
>>>> > Microsoft Visual C++ Runtime Library
>>>> >
>>>> > Runtime Error!
>>>> > Program: [path to executable]
>>>> > R6034
>>>> > An Application has made an attempt to load the C runtime library
>>>> > incorrectly.
>>>> > Please contact the application's support team for more information.
>>>> >
>>>> > If I run this through the vs debugger, I get an unhandled
>>>> > OSGeo.FDO.Common.Exception with the following message.
>>>> >
>>>> > "Unable to load the FDO Provider: A dynamic link library (DLL)
>>>> > initialization routine failed."
>>>> >
>>>> > Running OGRProvider.dll through depends.exe, I found that it was has
>>>> a
>>>> > missing dependency dwmapi.dll, which after some googling turns out to
>>>> be a
>>>> > Windows Vista dll (???). So I downloaded the file anyway, and put it
>>>> into
>>>> > the working directory, but I still get the same error messages.
>>>> >
>>>> > I am using FDO 3.3.0 RC1 (binaries, not built from source) on Windows
>>>> XP.
>>>> > I am using the managed dlls.
>>>> >
>>>> > Any ideas?
>>>> >
>>>> > - Jackie
>>>> > --
>>>> > View this message in context:
>>>> > http://www.nabble.com/OGR-3.3-Provider-runtime-error-
>>>> tp15012644s18162p15012644.html
>>>> > 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/OGR-3.3-Provider-
>>>> runtime-error-tp15012644s18162p15014222.html
>>>> 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/OGR-3.3-Provider-runtime-error-tp15012644s18162p15080594.html
>> 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/OGR-3.3-Provider-runtime-error-tp15012644s18162p15195091.html
> 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/OGR-3.3-Provider-runtime-error-tp15012644s18162p15197534.html
Sent from the fdo-users mailing list archive at Nabble.com.



More information about the fdo-users mailing list