Thread: Ultima SDK 2.1
View Single Post
Old 08-26-2008, 12:32 PM   #16 (permalink)
HellRazor
Forum Expert
 
Join Date: Oct 2002
Age: 45
Posts: 4,373
Default

Hey Jeff (or anyone else who can help):

I am attempting to modify the DLL to allow the the path to the UO directory to be changed programically from the calling application.

I've tried using a public static variable to hold the file path, which is then used in FileIndex.cs. The problem I am running into is that once the path to the UO client has been set the first time, the DLL always uses that path, even when the static public variable has changed.

Can anyone give me an idea as to why this happens and what I can do to work around it?

Thanks!
__________________
HellRazor is offline   Reply With Quote