Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to judge a handle? Pin
xi9047-Dec-02 23:09
xi9047-Dec-02 23:09 
AnswerRe: How to judge a handle? Pin
Roman Fadeyev8-Dec-02 0:54
Roman Fadeyev8-Dec-02 0:54 
GeneralRe: How to judge a handle? Pin
Paul M Watt8-Dec-02 6:22
mentorPaul M Watt8-Dec-02 6:22 
AnswerRe: How to judge a handle? Pin
Paul M Watt8-Dec-02 6:24
mentorPaul M Watt8-Dec-02 6:24 
AnswerRe: How to judge a handle? Pin
Joe Woodbury9-Dec-02 19:33
professionalJoe Woodbury9-Dec-02 19:33 
GeneralDetect the path where is running an application VC++ Pin
nencini7-Dec-02 20:15
nencini7-Dec-02 20:15 
GeneralRe: Detect the path where is running an application VC++ Pin
geo_m7-Dec-02 20:24
geo_m7-Dec-02 20:24 
GeneralRe: Detect the path where is running an application VC++ Pin
Roman Fadeyev7-Dec-02 23:59
Roman Fadeyev7-Dec-02 23:59 
geo_m is completely right. But I would add little remark: you can pass NULL to GetModuleFileName() to retrieve your app path. It's easier to use. Especially it is important to pass NULL when you get AppPath from DLL.

How to cut filedir from path? All functions for manipulating with filenames are placed in shlwapi.h. Their names are beginning from "Path" word. For example: PathFindFileName (Searches a path for a file name). Also you can use C++ function _splitpath

GeneralRe: Detect the path where is running an application VC++ Pin
Gaul8-Dec-02 3:28
Gaul8-Dec-02 3:28 
GeneralRe: Detect the path where is running an application VC++ Pin
Ravi Bhavnani8-Dec-02 12:40
professionalRavi Bhavnani8-Dec-02 12:40 
GeneralRe: Detect the path where is running an application VC++ Pin
pranavamhari8-Dec-02 14:39
pranavamhari8-Dec-02 14:39 
GeneralBig Question Pin
abarker047-Dec-02 17:45
abarker047-Dec-02 17:45 
GeneralRe: Big Question Pin
zarzor7-Dec-02 18:16
zarzor7-Dec-02 18:16 
GeneralRe: Big Question Pin
abarker048-Dec-02 4:56
abarker048-Dec-02 4:56 
GeneralRe: Big Question Pin
Christian Graus8-Dec-02 10:54
protectorChristian Graus8-Dec-02 10:54 
GeneralRe: Big Question Pin
zarzor8-Dec-02 11:58
zarzor8-Dec-02 11:58 
GeneralRe: Big Question Pin
jhwurmbach8-Dec-02 21:51
jhwurmbach8-Dec-02 21:51 
GeneralRe: Big Question Pin
zarzor10-Dec-02 15:27
zarzor10-Dec-02 15:27 
GeneralRe: Big Question..I found it !! Pin
zarzor11-Dec-02 11:56
zarzor11-Dec-02 11:56 
GeneralCString acting weird Pin
IGx897-Dec-02 15:40
IGx897-Dec-02 15:40 
GeneralRe: CString acting weird Pin
Christian Graus7-Dec-02 16:02
protectorChristian Graus7-Dec-02 16:02 
GeneralRe: CString acting weird Pin
IGx897-Dec-02 16:06
IGx897-Dec-02 16:06 
GeneralRe: CString acting weird Pin
Christian Graus7-Dec-02 16:22
protectorChristian Graus7-Dec-02 16:22 
GeneralRe: CString acting weird Pin
carrie8-Dec-02 6:13
carrie8-Dec-02 6:13 
GeneralRe: CString acting weird Pin
IGx898-Dec-02 8:43
IGx898-Dec-02 8:43 

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.