Click here to Skip to main content
15,892,517 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL and STL in function parameters Pin
Aescleal17-Aug-10 3:28
Aescleal17-Aug-10 3:28 
Questionprocessor time Pin
AbhiHcl16-Aug-10 19:51
AbhiHcl16-Aug-10 19:51 
AnswerRe: processor time Pin
Aescleal16-Aug-10 21:03
Aescleal16-Aug-10 21:03 
AnswerRe: processor time Pin
Moak17-Aug-10 0:55
Moak17-Aug-10 0:55 
QuestionHow to rotate a rectangle in Bitmap Pin
raju_shiva16-Aug-10 19:27
raju_shiva16-Aug-10 19:27 
AnswerRe: How to rotate a rectangle in Bitmap Pin
Peter_in_278016-Aug-10 20:32
professionalPeter_in_278016-Aug-10 20:32 
GeneralRe: How to rotate a rectangle in Bitmap Pin
raju_shiva16-Aug-10 22:57
raju_shiva16-Aug-10 22:57 
QuestionReading Directory Pin
Fareed Rizkalla16-Aug-10 16:18
Fareed Rizkalla16-Aug-10 16:18 
#include <iostream>
#include <windows.h>

using std::cin;
using std::cout;
using std::endl;

void main()
{
	WIN32_FIND_DATA FileDetails;
	HANDLE ListDirectory;
	ListDirectory = FindFirstFile(L"C:\\*", &FileDetails);
	cout << FileDetails.cFileName << endl;
	FindClose(ListDirectory);
}


I read on MSDN the code is deprecated on Windows 7! Any ideas why it is giving me junk text as a result.

Does anyone also know a 1 line fix for the 3 using declarations?
AnswerRe: Reading Directory Pin
Cool_Dev16-Aug-10 18:09
Cool_Dev16-Aug-10 18:09 
AnswerRe: Reading Directory Pin
«_Superman_»16-Aug-10 18:16
professional«_Superman_»16-Aug-10 18:16 
GeneralRe: Reading Directory Pin
Aescleal16-Aug-10 21:06
Aescleal16-Aug-10 21:06 
GeneralRe: Reading Directory Pin
«_Superman_»16-Aug-10 21:43
professional«_Superman_»16-Aug-10 21:43 
GeneralRe: Reading Directory Pin
Aescleal17-Aug-10 5:30
Aescleal17-Aug-10 5:30 
QuestionReading CPU Temperature (including each core temperature) without third party tools Pin
ant-damage16-Aug-10 11:21
ant-damage16-Aug-10 11:21 
AnswerRe: Reading CPU Temperature (including each core temperature) without third party tools Pin
Fareed Rizkalla16-Aug-10 16:18
Fareed Rizkalla16-Aug-10 16:18 
GeneralRe: Reading CPU Temperature (including each core temperature) without third party tools [modified] Pin
ant-damage17-Aug-10 1:17
ant-damage17-Aug-10 1:17 
QuestionRe: Reading CPU Temperature (including each core temperature) without third party tools Pin
David Crow17-Aug-10 8:44
David Crow17-Aug-10 8:44 
AnswerRe: Reading CPU Temperature (including each core temperature) without third party tools Pin
ant-damage17-Aug-10 11:08
ant-damage17-Aug-10 11:08 
GeneralRe: Reading CPU Temperature (including each core temperature) without third party tools Pin
JudyL_MD17-Aug-10 12:31
JudyL_MD17-Aug-10 12:31 
QuestionMFC: Can popup dialog in SDI app access ribbon commands? Pin
Jamie Kenyon16-Aug-10 9:25
Jamie Kenyon16-Aug-10 9:25 
AnswerRe: MFC: Can popup dialog in SDI app access ribbon commands? Pin
«_Superman_»16-Aug-10 18:27
professional«_Superman_»16-Aug-10 18:27 
Questionunable to install htk tool kit Pin
aspirant a16-Aug-10 7:42
aspirant a16-Aug-10 7:42 
AnswerRe: unable to install htk tool kit Pin
Rick York16-Aug-10 9:14
mveRick York16-Aug-10 9:14 
GeneralRe: unable to install htk tool kit Pin
aspirant a16-Aug-10 19:31
aspirant a16-Aug-10 19:31 
GeneralRe: unable to install htk tool kit Pin
Rick York16-Aug-10 20:27
mveRick York16-Aug-10 20:27 

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.