Find path of SpecialDir.

Apr 15, 2011 at 6:21pm
I need to find the physical path of the image btn.pcx
How Can I do it?
This app. on Win98:

v46 = CConfig__Instance(v42, v43, v44, v45);
LOBYTE(v1087) = 6;
v47 = CConfig__GetSpecialDir(v46);
std__basic_string_char_std__char_traits_char__std__allocator_char____operator_(&v1090, v47);
v48 = CGrafik__GetDC(dword_100D5D9C, 0, 0);
std__basic_string_char_std__char_traits_char__std__allocator_char____basic_string_char_std__char_traits_char__std__allocator_char__(&v1120,".\\grafik\\btn.pcx", &v1121);

Apr 15, 2011 at 6:54pm
".\\grafik\\btn.pcx"
That means:
.\grafik\btn.pcx

The dot (.) in that path means 'current directory', or the directory that the code/program is being executed from. From there, it goes into the grafik directory, and in there is where the btn.pcx is located.
Apr 15, 2011 at 9:05pm
Could the Grafik directory be hidden?
I have made search and I can't Find it, I do it from another machine sharing the c:\ drive.
The system does not allow access windows explorer when is running.
Last edited on Apr 15, 2011 at 9:14pm
Apr 15, 2011 at 10:08pm
It is in the exact same directory as the code you are compiling, or it does not exist.
Topic archived. No new replies allowed.