Click here to Skip to main content
15,902,198 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionabout static member of class Pin
tuqu4-Jun-07 21:00
tuqu4-Jun-07 21:00 
AnswerRe: about static member of class Pin
Cedric Moonen4-Jun-07 21:02
Cedric Moonen4-Jun-07 21:02 
GeneralRe: about static member of class Pin
tuqu4-Jun-07 21:40
tuqu4-Jun-07 21:40 
Questionwhy it can't work in server program Pin
CNJXRZ4-Jun-07 20:44
CNJXRZ4-Jun-07 20:44 
AnswerRe: why it can't work in server program Pin
messages4-Jun-07 20:52
messages4-Jun-07 20:52 
GeneralRe: why it can't work in server program Pin
CNJXRZ4-Jun-07 20:58
CNJXRZ4-Jun-07 20:58 
QuestionRe: why it can't work in server program Pin
David Crow5-Jun-07 3:07
David Crow5-Jun-07 3:07 
AnswerRe: why it can't work in server program [modified] Pin
Mark Salsbery5-Jun-07 5:13
Mark Salsbery5-Jun-07 5:13 
In addition to David's reply....

Why all the casts of a variable to its same type? Why initialize pNextInfo?

TCHAR strName[] = _T("\\\\OfficeNet\\TmpDir\\*.*"); 
WIN32_FIND_DATA NextInfo;
 
HANDLE hFind = ::FindFirstFile(strName, &NextInfo);
 
if (INVALID_HANDLE_VALUE != hFind)
{
   ... succeeded
 
   ::FindClose(hFind);
}
else
{
   DWORD dwErrCode = ::GetLastError();
   ...
}





-- modified at 11:20 Tuesday 5th June, 2007

"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

QuestionLinking to lib file (catch) Pin
Programm3r4-Jun-07 20:41
Programm3r4-Jun-07 20:41 
Answer#pragma comment ( lib, libpath) Pin
CNJXRZ4-Jun-07 20:54
CNJXRZ4-Jun-07 20:54 
QuestionRe: #pragma comment ( lib, libpath) Pin
Programm3r4-Jun-07 21:01
Programm3r4-Jun-07 21:01 
GeneralRe: #pragma comment ( lib, libpath) Pin
Programm3r4-Jun-07 21:18
Programm3r4-Jun-07 21:18 
AnswerRe: Linking to lib file (catch) Pin
Programm3r4-Jun-07 21:34
Programm3r4-Jun-07 21:34 
QuestionWebbrowser - simulate user actions on website-controls via QueryInterface Pin
Mathefreak4-Jun-07 20:35
Mathefreak4-Jun-07 20:35 
AnswerRe: Webbrowser - simulate user actions on website-controls via QueryInterface Pin
Rajkumar R4-Jun-07 21:18
Rajkumar R4-Jun-07 21:18 
Questionnewbie needs help Pin
Mckinnon Mitchell4-Jun-07 20:24
Mckinnon Mitchell4-Jun-07 20:24 
AnswerRe: newbie needs help Pin
_AnsHUMAN_ 4-Jun-07 20:28
_AnsHUMAN_ 4-Jun-07 20:28 
GeneralRe: newbie needs help Pin
Mckinnon Mitchell4-Jun-07 20:31
Mckinnon Mitchell4-Jun-07 20:31 
AnswerRe: newbie needs help Pin
CPallini4-Jun-07 20:32
mveCPallini4-Jun-07 20:32 
AnswerRe: newbie needs help Pin
Hamid_RT4-Jun-07 20:32
Hamid_RT4-Jun-07 20:32 
AnswerRe: newbie needs help Pin
MANISH RASTOGI4-Jun-07 20:49
MANISH RASTOGI4-Jun-07 20:49 
GeneralRe: newbie needs help Pin
Mckinnon Mitchell4-Jun-07 20:38
Mckinnon Mitchell4-Jun-07 20:38 
Generalnewbie needs help Pin
Mckinnon Mitchell4-Jun-07 20:56
Mckinnon Mitchell4-Jun-07 20:56 
Questionhidden files Pin
saisp4-Jun-07 19:59
saisp4-Jun-07 19:59 
AnswerRe: hidden files Pin
Hamid_RT4-Jun-07 20:27
Hamid_RT4-Jun-07 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.