i just written my first DLL program and i have some questions conerning files opened inside the DLL.
also with Vista now, i have some questions that should be easily answered.
i just tell you first what i am doing.
i wrote a dll program to read the ip country database to service and exe program.
so the exe calls the function in the dll, the dll then reads the data file then closes the file then everything is fine as long as all these programs are in the same folder.
but what about when the exe program is not in the same folder or a cgi program that would do the same thing.
i am looking for pointers(direction) on how to deal with data files and their locations when the dll is the program opening the data file.
thanks in advance.
paul
also with Vista now, i have some questions that should be easily answered.
i just tell you first what i am doing.
i wrote a dll program to read the ip country database to service and exe program.
so the exe calls the function in the dll, the dll then reads the data file then closes the file then everything is fine as long as all these programs are in the same folder.
but what about when the exe program is not in the same folder or a cgi program that would do the same thing.
i am looking for pointers(direction) on how to deal with data files and their locations when the dll is the program opening the data file.
thanks in advance.
paul
Comment