Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Wbemuuid.lib Pin
Steve S24-Jan-06 23:34
Steve S24-Jan-06 23:34 
GeneralRe: Wbemuuid.lib Pin
kelprinc24-Jan-06 23:45
kelprinc24-Jan-06 23:45 
QuestionMenu ID Pin
Hans Ruck24-Jan-06 22:11
Hans Ruck24-Jan-06 22:11 
AnswerRe: Menu ID Pin
toxcct24-Jan-06 22:30
toxcct24-Jan-06 22:30 
GeneralRe: Menu ID Pin
Hans Ruck24-Jan-06 22:33
Hans Ruck24-Jan-06 22:33 
GeneralRe: Menu ID Pin
toxcct24-Jan-06 22:43
toxcct24-Jan-06 22:43 
GeneralRe: Menu ID Pin
Hans Ruck24-Jan-06 23:58
Hans Ruck24-Jan-06 23:58 
QuestionRestarting the Application Pin
Ali Tavakol24-Jan-06 21:30
Ali Tavakol24-Jan-06 21:30 
AnswerRe: Restarting the Application Pin
M.Mehrdad.M24-Jan-06 21:57
M.Mehrdad.M24-Jan-06 21:57 
GeneralRe: Restarting the Application Pin
Ali Tavakol26-Jan-06 6:24
Ali Tavakol26-Jan-06 6:24 
GeneralRe: Restarting the Application Pin
M.Mehrdad.M27-Jan-06 20:04
M.Mehrdad.M27-Jan-06 20:04 
QuestionRe: Restarting the Application Pin
Owner drawn24-Jan-06 22:20
Owner drawn24-Jan-06 22:20 
AnswerRe: Restarting the Application Pin
Ali Tavakol26-Jan-06 6:21
Ali Tavakol26-Jan-06 6:21 
GeneralRe: Restarting the Application Pin
Owner drawn26-Jan-06 16:46
Owner drawn26-Jan-06 16:46 
Questioncode in C language that can save and edit Pin
shazzney24-Jan-06 21:16
shazzney24-Jan-06 21:16 
AnswerRe: code in C language that can save and edit Pin
Laxman924-Jan-06 21:29
Laxman924-Jan-06 21:29 
GeneralRe: code in C language that can save and edit Pin
shazzney24-Jan-06 22:00
shazzney24-Jan-06 22:00 
GeneralRe: code in C language that can save and edit Pin
Rage25-Jan-06 0:17
professionalRage25-Jan-06 0:17 
AnswerRe: code in C language that can save and edit Pin
toxcct24-Jan-06 21:31
toxcct24-Jan-06 21:31 
GeneralRe: code in C language that can save and edit Pin
shazzney24-Jan-06 21:51
shazzney24-Jan-06 21:51 
GeneralRe: code in C language that can save and edit Pin
toxcct24-Jan-06 22:05
toxcct24-Jan-06 22:05 
AnswerRe: code in C language that can save and edit Pin
David Crow25-Jan-06 4:24
David Crow25-Jan-06 4:24 
QuestionFile selection using OPENFILENAME in Unicode env. Pin
cpp_prgmer24-Jan-06 20:46
cpp_prgmer24-Jan-06 20:46 
AnswerRe: File selection using OPENFILENAME in Unicode env. Pin
Owner drawn24-Jan-06 21:25
Owner drawn24-Jan-06 21:25 
cpp_prgmer wrote:
lpstrFile member of GetOpenFileName function OPENFILENAME param returns me just the selected file name instead of prepending d string with dir path.


Here I get the full path.

cpp_prgmer wrote:
How does defining _UNICODE affect the working of this function, and how does one resolve this problem??


We must convert the file name to a Wide Character string using MultiByteToWideChar(...)

MultiByteToWideChar(CP_ACP, 0, ofn.lpstrFile, -1, pszFile, 512);


Jesus LovesRose | [Rose]
<marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner DrawnRose | [Rose]
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is LordRose | [Rose]

GeneralRe: File selection using OPENFILENAME in Unicode env. Pin
cpp_prgmer24-Jan-06 21:45
cpp_prgmer24-Jan-06 21:45 

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.