Search:
Type: Posts; User: tarantulaman
Search:
Search took 0.02 seconds.
-
August 10th, 2006, 06:36 AM
Hello sockman,
You are correct, the LocalSystem account behaves as it is named, locally lots of power but no network access.
I am not entirely sure how to do this in your scenario but I have...
-
June 27th, 2006, 04:56 AM
Hi maverick786us,
Have you looked at the SetWindowsHookEx(...) function. You can monitor messages (such as keyboard/mouse) that are sent to an app and determine if it is idle.
It is not...
-
March 9th, 2005, 04:31 PM
Hello,
Your code is fine, there is no problem with having two classes with the same named variables.
Hope this helps.
Dave
-
March 9th, 2005, 04:50 AM
Hi,
Have a look at InterlockedExchange(), it may help. It only allows one thread to access the variable at a time.
Dave
-
March 8th, 2005, 05:22 AM
Hello Martin O,
Have a look at:
SetCommTimeouts()
or try something like
-
March 8th, 2005, 04:17 AM
Hello ILikeOrange,
Sorry about that, I should really have tested what I posted. :blush:
Anyway here goes, the missing bits are:
// ALSO Link to - netapi32.lib
-
January 12th, 2005, 03:25 PM
Could you post some code please to make it easier to help with this issue. Especially the Run() method.
Thanks,
Dave
-
January 11th, 2005, 06:32 AM
Why not use the STL string class?
Are you using CComBSTR purely to simplify concatenation etc.
-
December 21st, 2004, 05:47 AM
Sorry missed out helper functions...
#include <Nb30.h>
const long lNAME_SIZE = 1024;
BOOL ResetAdapter(UCHAR lana)
{
NCB ncb;
-
December 21st, 2004, 05:32 AM
Sorry, missed other helper functions :blush:
#include <Nb30.h>
BOOL ResetAdapter(UCHAR lana)
{
NCB ncb;
-
December 21st, 2004, 05:28 AM
Hi
Here is some sample code, hope this helps with your understanding.
void GetMacAddress()
{
// Ensure buffer size is big enough to hold the address
TCHAR szBuffer[18];
-
December 17th, 2004, 04:56 AM
You probably do not need this now but in case someone else does, here goes.
void GetMacAddress()
{
// Ensure buffer size is big enough to hold the address
TCHAR szBuffer[18];
DWORD...
-
April 20th, 2004, 02:38 AM
Thanks for the responses. It is pretty much as I expected.
Basically the service is an application launch monitoring system which gets info on apps run and controls their use through licenses.
...
-
March 17th, 2004, 05:39 AM
Sorry ignore the above post. :blush:
It is of course the debug privilege being enabled which allows me to kill services.
Doh...
-
March 17th, 2004, 05:20 AM
Hello,
Does anyone know why on windows XP machines I can kill services using the task manager and therefore make windows shutdown. (i.e. svchost)
I am simply logged on as an administrator
...
-
February 11th, 2004, 08:03 AM
Hello all,
I have a service on a Windows 2000 machine, I have 2 user sessions on the machine (using WTS). This works ok on XP and 2003.
User 1 creates a mapped network drive, eg....
-
January 17th, 2003, 03:59 AM
Thanks galathaea,
You were correct about the SE_DEBUG_NAME privilege, adding code to set it did the trick.
Thanks again galathaea :D
Dave
-
January 17th, 2003, 03:03 AM
Thanks,
I will give it a try and I will post back with the results.
Dave
-
January 16th, 2003, 11:34 AM
Hello,
Does anyone know how to get the path to a process in XP. My problem is with fast user switching.
I am trying to use the following code to get the path, but OpenProcess fails for all...
-
December 18th, 2002, 10:19 AM
I will have a look at the LSA functions, thanks.
Dave
-
December 18th, 2002, 08:56 AM
Hello alexey_1979,
Thanks for the reply.
Sorry for being naive, but is there an advantage in using LsaEnumerateLogonSessions instead of the WTS functions.
Thanks,
Dave
-
December 17th, 2002, 05:21 AM
Done it.
This is how it works:
// This function shows an example of how to start a process in another users Terminal Server session on Windows XP.
// Please note this code is executed within...
-
December 12th, 2002, 06:38 AM
Hello all,
I have a service running on XP, when a new user logs on, I want to create a process into that users session. Is there a well defined method of doing this?
Basically this process will...
|
Click Here to Expand Forum to Full Width
|