Click here to Skip to main content
15,914,225 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C language float to string conversion ... Pin
Jim Crafton13-Dec-05 7:49
Jim Crafton13-Dec-05 7:49 
AnswerRe: C language string to float conversion ... Pin
PJ Arends13-Dec-05 8:38
professionalPJ Arends13-Dec-05 8:38 
GeneralRe: C language string to float conversion ... Pin
Maximilien13-Dec-05 9:30
Maximilien13-Dec-05 9:30 
QuestionHow to force the initial directory to be 'My Computer' Pin
Cyrus Dang13-Dec-05 7:10
Cyrus Dang13-Dec-05 7:10 
AnswerRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz13-Dec-05 9:16
TheGreatAndPowerfulOz13-Dec-05 9:16 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
Cyrus Dang13-Dec-05 9:33
Cyrus Dang13-Dec-05 9:33 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz13-Dec-05 9:50
TheGreatAndPowerfulOz13-Dec-05 9:50 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
Cyrus Dang13-Dec-05 10:25
Cyrus Dang13-Dec-05 10:25 
It returns none of them. It's 0x80070057. This is exactly how I use the function:

TCHAR szMyCompPath[MAX_PATH];<br />
int rc;<br />
rc = SHGetFolderPath(NULL, CSIDL_DRIVES, NULL, 0, szMyCompPath);


Do you have any ideas to set the initial directory of CFileDialog to "My Computer"? This is my ultimate goal.

Thanks in advance.
GeneralRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz13-Dec-05 13:16
TheGreatAndPowerfulOz13-Dec-05 13:16 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
Cyrus Dang13-Dec-05 14:06
Cyrus Dang13-Dec-05 14:06 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz13-Dec-05 17:12
TheGreatAndPowerfulOz13-Dec-05 17:12 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz14-Dec-05 6:39
TheGreatAndPowerfulOz14-Dec-05 6:39 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
Cyrus Dang14-Dec-05 6:48
Cyrus Dang14-Dec-05 6:48 
GeneralRe: How to force the initial directory to be 'My Computer' Pin
TheGreatAndPowerfulOz14-Dec-05 8:39
TheGreatAndPowerfulOz14-Dec-05 8:39 
QuestionReading Screen/Frame Buffer Pin
Identity Undisclosed13-Dec-05 7:10
Identity Undisclosed13-Dec-05 7:10 
AnswerRe: Reading Screen/Frame Buffer Pin
Jim Crafton13-Dec-05 7:46
Jim Crafton13-Dec-05 7:46 
GeneralRe: Reading Screen/Frame Buffer Pin
Identity Undisclosed13-Dec-05 17:20
Identity Undisclosed13-Dec-05 17:20 
Question[Message Deleted] Pin
peterchen13-Dec-05 5:55
peterchen13-Dec-05 5:55 
AnswerRe: HTML Unescape a string? Pin
toxcct13-Dec-05 5:58
toxcct13-Dec-05 5:58 
AnswerRe: Pin
toxcct13-Dec-05 6:29
toxcct13-Dec-05 6:29 
GeneralRe: Pin
peterchen13-Dec-05 8:02
peterchen13-Dec-05 8:02 
Question(ADO v2.20) pRs-&gt;Delete(); Crashes the application Pin
sdancer7513-Dec-05 5:04
sdancer7513-Dec-05 5:04 
AnswerRe: (ADO v2.20) pRs-&amp;gt;Delete(); Crashes the application Pin
kdehairy13-Dec-05 6:28
kdehairy13-Dec-05 6:28 
GeneralRe: (ADO v2.20) pRs-&amp;amp;gt;Delete(); Crashes the application Pin
sdancer7513-Dec-05 6:49
sdancer7513-Dec-05 6:49 
AnswerRe: (ADO v2.20) pRs-&amp;gt;Delete(); Crashes the application Pin
sdancer7513-Dec-05 21:39
sdancer7513-Dec-05 21:39 

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.