Hi,

The DLL under windows will be searched in two places : in the same directery
where the .exe is, and in the path... so just put your dll in the same
folder than the .exe and they will be found.
Same thing for the data, use relative path from the exe path ... and you can
find your datas easily.

Hoping this will help you,

Regards,
    Vincent.

2009/4/10 Geoff <[email protected]>

> Hi guys,
>
> I've been spending a few days playing around with OSG in my spare time, and
> I'm wanting to try to put together a small project using it. I was just
> wondering, how would I go about creating a project that does -not- use PATH
> variables to find information?
>
> For example, to find the compiled DLLs or to find a media folder under the
> executable's current directory.
>
> Sorry for this being a bit of a newbie question, it just seems like the
> project relies quiet heavily on these path variables in order to find any
> files, and I'd prefer not to require people using my software to have to
> create such.
>
> Thank you for your time,
>  - Geoffrey.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=10061#10061
>
>
>
>
>
> _______________________________________________
> 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