I'm not sure that GetRealPath is working correctly. I have seen it
return weird results in my case either. Try to avoid using it for now.
But to convert a real path to VFS why do you need GetRealPath() in the
first place? Why not just mount it directly (after replacing the
slashes with $/).
Greetings,
On 10/13/06, piotr_obrzut <[EMAIL PROTECTED]> wrote:
> hi,
>
> I was writing before about following problem:
> I get real paths from wxWidgets and I want to convert them to vfs ones even
> temporary.
>
> So I used something like this:
>
> csRef<iDataBuffer> rp = vfs->GetRealPath ("dummy_path/");
> vfs->Unmount ("dummy_path/", rp->GetData ());
> vfs->Mount ("dummy_path",real_path);
>
> though
>
> after this sequence, "vfs->GetRealPath ("dummy_path");" returns something
> like "e:\programowanie\praca\tto-editor\bin\..\data\zones\dummy_path" (it
> isn't my real path for sure).
>
> What I should do to have correct behaviour (mount my real path temporary)?
>
> --
> greetings,
> Piotr Obrzut
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Crystal-main mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/crystal-main
> Unsubscribe: mailto:[EMAIL PROTECTED]
>
--
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]