Click here to Skip to main content
15,923,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: comparision of string Pin
tasumisra23-Nov-08 19:19
tasumisra23-Nov-08 19:19 
GeneralRe: comparision of string Pin
_AnsHUMAN_ 23-Nov-08 19:27
_AnsHUMAN_ 23-Nov-08 19:27 
GeneralRe: comparision of string Pin
tasumisra23-Nov-08 20:06
tasumisra23-Nov-08 20:06 
QuestionHaving problem with 2-dimensional dynamic array Pin
shahb23-Nov-08 18:24
shahb23-Nov-08 18:24 
AnswerRe: Having problem with 2-dimensional dynamic array Pin
CPallini23-Nov-08 22:33
mveCPallini23-Nov-08 22:33 
Questionstore bitmap into harddisk Pin
220823-Nov-08 17:45
220823-Nov-08 17:45 
AnswerRe: store bitmap into harddisk Pin
Hamid_RT23-Nov-08 20:33
Hamid_RT23-Nov-08 20:33 
GeneralRe: store bitmap into harddisk Pin
220824-Nov-08 17:03
220824-Nov-08 17:03 
GeneralRe: store bitmap into harddisk Pin
Hamid_RT25-Nov-08 2:44
Hamid_RT25-Nov-08 2:44 
QuestionHelp me Pin
Tsodgorhuu23-Nov-08 17:41
Tsodgorhuu23-Nov-08 17:41 
AnswerWrong Forum Pin
_AnsHUMAN_ 23-Nov-08 18:33
_AnsHUMAN_ 23-Nov-08 18:33 
QuestionCryptAcquireContext question Pin
monsieur_jj23-Nov-08 16:51
monsieur_jj23-Nov-08 16:51 
QuestionHow to display a csv file on a click of button Pin
keerthihaasan23-Nov-08 14:26
keerthihaasan23-Nov-08 14:26 
AnswerRe: How to display a csv file on a click of button Pin
Maximilien23-Nov-08 16:25
Maximilien23-Nov-08 16:25 
AnswerRe: How to display a csv file on a click of button Pin
Chandrasekharan P23-Nov-08 17:12
Chandrasekharan P23-Nov-08 17:12 
GeneralRe: How to display a csv file on a click of button Pin
keerthihaasan23-Nov-08 18:11
keerthihaasan23-Nov-08 18:11 
GeneralRe: How to display a csv file on a click of button Pin
Chandrasekharan P23-Nov-08 18:16
Chandrasekharan P23-Nov-08 18:16 
GeneralRe: How to display a csv file on a click of button Pin
Cedric Moonen23-Nov-08 20:25
Cedric Moonen23-Nov-08 20:25 
QuestionHow does the Windows Explorer status bar know file details? Pin
Xiphias323-Nov-08 7:42
Xiphias323-Nov-08 7:42 
Questionconverting float[][] to float** in function params Pin
Chesnokov Yuriy23-Nov-08 5:04
professionalChesnokov Yuriy23-Nov-08 5:04 
QuestionRe: converting float[][] to float** in function params Pin
CPallini23-Nov-08 8:23
mveCPallini23-Nov-08 8:23 
AnswerRe: converting float[][] to float** in function params Pin
Chesnokov Yuriy23-Nov-08 19:22
professionalChesnokov Yuriy23-Nov-08 19:22 
QuestionCheck windows workstation is locked or not Pin
masaniparesh22-Nov-08 22:25
masaniparesh22-Nov-08 22:25 
Hi Friends,

I have written below code for checking whether windows machine is locked or not but its gives always window is locked though its not locked. Could anyone suggest what is wrong here or can give alternative solution?

bool lockedHost = false;
HMODULE hUser32;
FARPROC LockWorkStation;
hUser32 = GetModuleHandle("user32.dll");
if (hUser32) {
LockWorkStation = GetProcAddress(hUser32, "LockWorkStation");
if (LockWorkStation) {
lockedHost = true;
MessageBox(0, "locked1", "Info", MB_OK);
}
}

Thanks in advanced,
Paresh
AnswerRe: Check windows workstation is locked or not Pin
fantasy121522-Nov-08 23:34
fantasy121522-Nov-08 23:34 
AnswerRe: Check windows workstation is locked or not [modified] Pin
Jijo.Raj23-Nov-08 1:00
Jijo.Raj23-Nov-08 1:00 

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.