Hi Adrian,

I remain a bit confused about why the prepending is a problem.  The
problem you talk of looks to be a prasing issue.  I don't understand
where the quotes come in.  It would seem to be that there is code
somewhere along the line that is causing the problem and this needs
fixing, rather than pushing it back to the prefixing of the
osgPlugins-version.

Robert.

On 8/15/07, Adrian Egli <[EMAIL PROTECTED]> wrote:
> The problem was, that in some cases the OSG Library Path wasn't parsed
> correctly.
> It appended a quote (") at the begin and the end of the string of each path.
> It was appended
> in my application, so what was happended in the OSG world. just before
> appending the prepend
> the GetFullPathName was able handling such a bad file string:
>
> example:
> path = "c:\test"
> file = 'test.dll'
>
> concatPaths(path,file)
>
> and the method GetFullPathName ("c:\test"\test.dll ) returns: current
> working dir "\" c:\test"\test.dll
>
> c:\temp\"c:\test"\test.dll  what is very bad for a file string.
>
> without quotes
> it returns: c:\test\test.dll
>
> /adegli
>
>
>
>
>
> 2007/8/15, Robert Osfield < [EMAIL PROTECTED]>:
> > Hi Adrian,
> >
> > I am curious, what problems did the prepending introduce?
> >
> > Robert.
> >
> > On 8/15/07, Adrian Egli <[EMAIL PROTECTED]> wrote:
> > > Sorry, Robert
> > > forget this topic.
> > >
> > > /adegli
> > >
> > > 2007/8/14, Adrian Egli <[EMAIL PROTECTED]>:
> > > >
> > > >     // BEGIN ADDED Adrian Egli
> > > >     // may we like to switch off the prepend look up
> > > >     // than just define this definition in the console before starting
> the
> > > application
> > > >     char* ptr;
> > > >     if( (ptr = getenv( "OSG_NO_PLUGIN_PREPEND" )) )
> > > >     {
> > > >         prepend="";
> > > >     }
> > > >     // End ADDED
> > > >
> > > >
> > > > 2007/8/14, Adrian Egli < [EMAIL PROTECTED]>:
> > > >
> > > > > hi robert,
> > > > >
> > > > > i would like to have the ability to switch off the prepend for my
> > > appliction, may others would also like to be able doing this.
> > > > > can you please check in the attached file: registry.cpp
> > > > >
> > > > > just search for Adrian Egli
> > > > >
> > > > > thanks adrian
> > > > >
> > > > > --
> > > > > ********************************************
> > > > > Adrian Egli
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ********************************************
> > > > Adrian Egli
> > >
> > >
> > >
> > > --
> > > ********************************************
> > > Adrian Egli
> > > _______________________________________________
> > > osg-users mailing list
> > > [email protected]
> > >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> > >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
>
>
>
> --
> ********************************************
> Adrian Egli
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to