Click here to Skip to main content
15,911,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detachable tab control... Pin
Antti Keskinen23-Jan-04 22:43
Antti Keskinen23-Jan-04 22:43 
GeneralRe: Detachable tab control... Pin
Marcello25-Jan-04 8:15
Marcello25-Jan-04 8:15 
GeneralProblem in SearchPath Pin
SiddharthAtw23-Jan-04 17:46
SiddharthAtw23-Jan-04 17:46 
GeneralRe: Problem in SearchPath Pin
Mukkie25-Jan-04 7:56
Mukkie25-Jan-04 7:56 
GeneralRe: Problem in SearchPath Pin
SiddharthAtw26-Jan-04 17:24
SiddharthAtw26-Jan-04 17:24 
GeneralRe: Problem in SearchPath Pin
Mukkie27-Jan-04 7:35
Mukkie27-Jan-04 7:35 
GeneralRe: Problem in SearchPath Pin
SiddharthAtw28-Jan-04 21:42
SiddharthAtw28-Jan-04 21:42 
GeneralRe: Problem in SearchPath Pin
Mukkie29-Jan-04 5:50
Mukkie29-Jan-04 5:50 
So you should not use SearchPath()

Use either SHFindFiles or locate the file by yourself, by traversing directories, and using FindFirstFile, FindNextFile.

Search path searches for file in:
1) The directory from which the application loaded.
2) The current directory.
3) The system directory. Use the GetSystemDirectory function to get the path of this directory.
4) The 16-bit system directory. There is no function that retrieves the path of this directory, but it is searched.
5) The Windows directory. Use the GetWindowsDirectory function to get the path of this directory.
6) The directories that are listed in the PATH environment variable.

These are not all directories for sure

Smile | :)
GeneralRe: Problem in SearchPath Pin
SiddharthAtw29-Jan-04 22:14
SiddharthAtw29-Jan-04 22:14 
QuestionHave an idea, what do you think? Pin
youngjedi23-Jan-04 14:11
youngjedi23-Jan-04 14:11 
AnswerRe: Have an idea, what do you think? Pin
l a u r e n23-Jan-04 14:27
l a u r e n23-Jan-04 14:27 
GeneralAccess - changing database password from an EXE Pin
Kayembi23-Jan-04 9:07
Kayembi23-Jan-04 9:07 
GeneralRe: Access - changing database password from an EXE Pin
David Crow23-Jan-04 9:44
David Crow23-Jan-04 9:44 
GeneralCListView Custom Drawing: drop target icon Pin
bitpusher23-Jan-04 7:49
bitpusher23-Jan-04 7:49 
GeneralProblem Vith ADO-FoxPro Pin
Srdjan Mladenovic23-Jan-04 7:40
Srdjan Mladenovic23-Jan-04 7:40 
Generalnewbie having error LNK2005 problem Pin
skletty23-Jan-04 7:23
skletty23-Jan-04 7:23 
GeneralRe: newbie having error LNK2005 problem Pin
David Crow23-Jan-04 9:49
David Crow23-Jan-04 9:49 
GeneralRe: newbie having error LNK2005 problem Pin
skletty23-Jan-04 10:06
skletty23-Jan-04 10:06 
GeneralRe: newbie having error LNK2005 problem Pin
David Crow23-Jan-04 10:17
David Crow23-Jan-04 10:17 
GeneralRe: newbie having error LNK2005 problem Pin
skletty23-Jan-04 10:20
skletty23-Jan-04 10:20 
GeneralRe: newbie having error LNK2005 problem Pin
Jörgen Sigvardsson24-Jan-04 6:12
Jörgen Sigvardsson24-Jan-04 6:12 
GeneralRe: newbie having error LNK2005 problem Pin
Michael Dunn23-Jan-04 12:46
sitebuilderMichael Dunn23-Jan-04 12:46 
GeneralDialog from CHTMLView Pin
Frank Deo23-Jan-04 6:50
Frank Deo23-Jan-04 6:50 
GeneralServer 2003 DDK, ZMODEM Pin
Shahin7723-Jan-04 6:41
Shahin7723-Jan-04 6:41 
GeneralRe: Server 2003 DDK, ZMODEM Pin
Alexander M.,24-Jan-04 7:49
Alexander M.,24-Jan-04 7:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.