Click here to Skip to main content
16,015,003 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can Save the List in MS-Access Database? Pin
Le@rner20-May-08 18:07
Le@rner20-May-08 18:07 
GeneralRe: How can Save the List in MS-Access Database? Pin
David Crow21-May-08 4:05
David Crow21-May-08 4:05 
QuestionI got error when i tried to call LoadIFilter Pin
Prazwol18-May-08 21:46
Prazwol18-May-08 21:46 
QuestionRe: I got error when i tried to call LoadIFilter Pin
CPallini18-May-08 21:58
mveCPallini18-May-08 21:58 
AnswerRe: I got error when i tried to call LoadIFilter Pin
Prazwol18-May-08 22:19
Prazwol18-May-08 22:19 
Questionerror C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition Pin
_chew18-May-08 20:52
_chew18-May-08 20:52 
AnswerRe: error C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition Pin
Cedric Moonen18-May-08 20:55
Cedric Moonen18-May-08 20:55 
GeneralRe: error C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition Pin
_chew18-May-08 21:07
_chew18-May-08 21:07 
#ifndef SVC_INFC_H
#define SVC_INFC_H

// This is the problem. If I would comment this one,
// WTSGetActiveConsoleSessionId() will go undeclared identifier.
// Otherwise, those errors I've posted a while ago.
#define _WIN32_WINNT 0x0501 // A0001

#include <windows.h>
#include <wtsapi32.h>
#include <iostream>
#include <tchar.h>
#include <winsvc.h>
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>

#define SERVICE_NAME "MirrorMonitor"
#define MSGSENDER_FILENAME "appmsgsender.exe" // A0001

// default status check time interval: 60 seconds
#define DEFAULT_INTERVAL 60000

VOID WINAPI ServiceMain( DWORD argc, LPTSTR *argv);
VOID WINAPI ServiceCtrlHandler( DWORD Opcode);
BOOL InstallService();
BOOL DeleteService();
VOID ServiceInit( DWORD dwArgc, LPTSTR *lpszArgv);
VOID ReportServiceStatus( DWORD dwCurrentState,
DWORD dwWin32ExitCode,
DWORD dwWaitHint);
VOID ServiceReportEvent( LPTSTR szFunction, DWORD eventType);
VOID OnStartStatusCheck();
VOID PeriodicStatusCheck();
DWORD ReadIntervalConfigValue();
VOID WriteIntervalConfigValue(DWORD Data);
VOID WriteServiceRunValue(DWORD Data);
VOID WriteMirrorStatusValue(DWORD MirrorStatData);
BOOL LaunchUserImpersonatedMessageSender(void); // A0001

#endif


Thanks Cédric Moonen
GeneralRe: error C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition Pin
Cedric Moonen18-May-08 21:33
Cedric Moonen18-May-08 21:33 
GeneralRe: error C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition Pin
Nelek18-May-08 21:48
protectorNelek18-May-08 21:48 
GeneralRe: error C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition Pin
_chew18-May-08 22:10
_chew18-May-08 22:10 
GeneralRe: error C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition Pin
_chew19-May-08 4:16
_chew19-May-08 4:16 
QuestionDynamically changing timer interval Pin
rp_suman18-May-08 20:36
rp_suman18-May-08 20:36 
AnswerRe: Dynamically changing timer interval Pin
Rajkumar R18-May-08 20:59
Rajkumar R18-May-08 20:59 
AnswerRe: Dynamically changing timer interval Pin
ThatsAlok19-May-08 1:20
ThatsAlok19-May-08 1:20 
AnswerRe: Dynamically changing timer interval Pin
Mike Dimmick19-May-08 2:53
Mike Dimmick19-May-08 2:53 
Questionhow can i draw a line Pin
shohel89918-May-08 20:35
shohel89918-May-08 20:35 
AnswerRe: how can i draw a line Pin
Cedric Moonen18-May-08 20:51
Cedric Moonen18-May-08 20:51 
QuestionHow can linked lists be accessed? Pin
nawal_bo18-May-08 20:25
nawal_bo18-May-08 20:25 
AnswerRe: How can linked lists be accessed? Pin
chandu00418-May-08 20:27
chandu00418-May-08 20:27 
AnswerRe: How can linked lists be accessed? Pin
Cedric Moonen18-May-08 20:30
Cedric Moonen18-May-08 20:30 
AnswerRe: How can linked lists be accessed? Pin
ThatsAlok19-May-08 1:30
ThatsAlok19-May-08 1:30 
QuestionRe: How can linked lists be accessed? Pin
David Crow19-May-08 4:21
David Crow19-May-08 4:21 
QuestionHow to read japanese string from the string table (.rc file). Pin
sumit.durg18-May-08 20:00
sumit.durg18-May-08 20:00 
AnswerRe: How to read japanese string from the string table (.rc file). Pin
Rajesh R Subramanian18-May-08 20:07
professionalRajesh R Subramanian18-May-08 20:07 

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.