Hi Guys
Is it possible to place the dll files into there own directory what i mean by that is the exe in the apps root dir and within that root dir a folder called dll or whatever
if it is possible could you explain how to do it
TIA
dll Question
Moderators: CEGUI MVP, CEGUI Team
dll Question
trying to upgrade to 0.8.2 from 0.7.9
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Re: dll Question
Hi,
Unless your specify a custom path from your application (.exe) itself, windows will not be able find dll's when they are not in your app directory, win32 or your path.
However (i have not tried this) i think you could do the following: launch your .exe from a batch file, in which you add your DLL directory to your system path. That way, i think that Windows will be able to find your file.
HTH!
Unless your specify a custom path from your application (.exe) itself, windows will not be able find dll's when they are not in your app directory, win32 or your path.
However (i have not tried this) i think you could do the following: launch your .exe from a batch file, in which you add your DLL directory to your system path. That way, i think that Windows will be able to find your file.
HTH!
Check out my released snake game using Cegui!
Re: dll Question
hiya ScriptKid
thanks for your answer bud
how can i specify a custom path from my exe to do this is?
sorry for the stupid question but i have no idea how
thanks for your answer bud
how can i specify a custom path from my exe to do this is?
sorry for the stupid question but i have no idea how
trying to upgrade to 0.8.2 from 0.7.9
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: dll Question
I think it depends who is loading the DLLs; if the DLLs are automatically brought in by the system, then the PATH environment variable is key. If the DLLs are 'modules' loaded manually by the app, then you can specify a path in the calls to LoadLibrary or LoadLibraryEx. If you are not making the LoadLibrary calls yourself (i.e. the modules from CEGUI as loaded by CEGUI), then I think again the PATH variable again becomes key.
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: dll Question
heya
Thanks CE yeah it was the cegui dll's i was refering too
thanks for all the answers and the explanations clears it up for me
Thanks CE yeah it was the cegui dll's i was refering too
thanks for all the answers and the explanations clears it up for me
trying to upgrade to 0.8.2 from 0.7.9
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 3 guests