I have a multimedia class in which i pass in a string to the constructor, which is just the file name eg "mediaexample.avi".
Is there anyway i can get the full path name instead of hardcoding it?
GetCurrentDirectory and GetFullPathName are no good at all, because the media files are not in the current working directory, they are in C:/Windows/Media.
Any help is appreciated.
Laurio
Is there anyway i can get the full path name instead of hardcoding it?
GetCurrentDirectory and GetFullPathName are no good at all, because the media files are not in the current working directory, they are in C:/Windows/Media.
Any help is appreciated.
Laurio