Click here to Skip to main content
15,913,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblems moving to .NET studio Pin
Tom Wright17-Sep-03 12:24
Tom Wright17-Sep-03 12:24 
GeneralRe: Problems moving to .NET studio Pin
valikac17-Sep-03 12:42
valikac17-Sep-03 12:42 
GeneralRe: Problems moving to .NET studio Pin
Tom Wright17-Sep-03 17:06
Tom Wright17-Sep-03 17:06 
GeneralRe: Problems moving to .NET studio Pin
Steve S18-Sep-03 1:47
Steve S18-Sep-03 1:47 
GeneralRe: Problems moving to .NET studio Pin
Alexander M.,18-Sep-03 6:21
Alexander M.,18-Sep-03 6:21 
GeneralAnother question in tabCtrl Pin
Ruben93817-Sep-03 12:01
Ruben93817-Sep-03 12:01 
GeneralCreating a DialogBox in NT Service Pin
john.angel17-Sep-03 11:26
john.angel17-Sep-03 11:26 
GeneralRe: Creating a DialogBox in NT Service Pin
Peter Weyzen17-Sep-03 12:07
Peter Weyzen17-Sep-03 12:07 
Posting a dialog from a service isn't really a great thing to do. And there's issues around doing such things. Issues about how the service is installed, and which user this service is bound to:

First question: when you install this service, are you installing it using CreateService() and are you specifying the SERVICE_INTERACTIVE_PROCESS flag in dwServiceType parameter?

<br />
SC_HANDLE CreateService(<br />
  SC_HANDLE hSCManager,<br />
  LPCTSTR lpServiceName,<br />
  LPCTSTR lpDisplayName,<br />
  DWORD dwDesiredAccess,<br />
  DWORD dwServiceType,<br />
  DWORD dwStartType,<br />
  DWORD dwErrorControl,<br />
  LPCTSTR lpBinaryPathName,<br />
  LPCTSTR lpLoadOrderGroup,<br />
  LPDWORD lpdwTagId,<br />
  LPCTSTR lpDependencies,<br />
  LPCTSTR lpServiceStartName,<br />
  LPCTSTR lpPassword<br />
);<br />


The moral is -- you should first scrutinize how your service is installed on your machine.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.santacruznetworks.com">Santa Cruz Networks</A>

GeneralRe: Creating a DialogBox in NT Service Pin
john.angel18-Sep-03 6:38
john.angel18-Sep-03 6:38 
QuestionHow to set up a scroll bar inside a tabctrl Pin
Ruben93817-Sep-03 11:22
Ruben93817-Sep-03 11:22 
AnswerI tried this: Pin
Ruben93817-Sep-03 12:41
Ruben93817-Sep-03 12:41 
GeneralChange Color of Bitmap Pin
Anonymous17-Sep-03 11:11
Anonymous17-Sep-03 11:11 
GeneralRe: Change Color of Bitmap Pin
John R. Shaw17-Sep-03 11:35
John R. Shaw17-Sep-03 11:35 
GeneralgetFTPConnection prob Pin
ns17-Sep-03 10:19
ns17-Sep-03 10:19 
GeneralRe: getFTPConnection prob Pin
Jagadeesh VN17-Sep-03 10:40
Jagadeesh VN17-Sep-03 10:40 
GeneralRe: getFTPConnection prob Pin
ns18-Sep-03 2:02
ns18-Sep-03 2:02 
Generalalmost got it little help please Pin
colin2117-Sep-03 9:48
colin2117-Sep-03 9:48 
GeneralRe: almost got it little help please Pin
Michael P Butler17-Sep-03 10:23
Michael P Butler17-Sep-03 10:23 
GeneralRe: almost got it little help please Pin
David Crow17-Sep-03 10:25
David Crow17-Sep-03 10:25 
GeneralRe: almost got it little help please Pin
colin2117-Sep-03 11:37
colin2117-Sep-03 11:37 
GeneralRe: almost got it little help please Pin
David Crow18-Sep-03 3:49
David Crow18-Sep-03 3:49 
GeneralRe: almost got it little help please Pin
DougW4817-Sep-03 13:54
DougW4817-Sep-03 13:54 
Generalbeginner winsock question Pin
mweiss17-Sep-03 9:08
mweiss17-Sep-03 9:08 
GeneralRe: beginner winsock question Pin
David Crow17-Sep-03 9:38
David Crow17-Sep-03 9:38 
GeneralRe: beginner winsock question Pin
valikac17-Sep-03 12:43
valikac17-Sep-03 12:43 

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.