comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
February 2008
motuwethfrsasuw
    123 5
45678910 6
11121314151617 7
18192021222324 8
2526272829   9
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Creating Windows Scheduled Tasks From a Program That Wake The Computer To Run the Task         


Author: sengsational
Date: Feb 27, 2008 13:09

If you have wondered where to start looking when you would like to
programatically create a Windows scheduled task that will allow for
the system to resume from an S3 state or S4 state in order to run your
task, this post might help. It doesn't tell you how to code it, but
with what you find here and your favorite search tool, you should get
a good start.

It seems the windows AT command and the windows SCHTASKS command do
not allow for the management of the attribute that will allow the
machine to resume from a sleep state.

Instead, you would use the SetFlags method on
TASK_FLAG_SYSTEM_REQUIRED in the IScheduledWorkItem interface.
TASK_FLAG_SYSTEM_REQUIRED is 0x1000 or 4096 decimal.

SetFlags Method of the IScheduledWorkItem Interface:

TASK_FLAG_SYSTEM_REQUIRED

The work item causes the system to be resumed, or awakened, if the
system is running on battery power. This flag is supported only on
systems that support resume timers.

UI says "Wake the computer to run this task"

I hope this post turns out to be useful to folks.
Show full article (1.69Kb)
no comments
  WMI Framework         


Author: siddhu
Date: Feb 27, 2008 11:21

Dear experts,

I am using WMI Framework in C++ to fetch following information.

1) User has admin rights or not?
2)Check wether an application is installed or not?
3)Graphics card information

I am trying hard to find correct class and property but stil
unsuccessful.
Any suggestions would of great help.

Thanks
siddhu
2 Comments
  [ann] C/C++ interpreter Ch released         


Author: Peter
Date: Feb 27, 2008 07:03

Ch is an embeddable C/C++ interpreter for cross-platform scripting,
2D/3D plotting, numerical computing, shell programming and embedded
scripting.

Ch and Embedded Ch version 6.0 are now available. The new release added
debug features in Ch and Embedded Ch. A new Ch Integrated Development
Environment (IDE) is included in Ch Professional Edition. This new ChIDE
supports the debug of C/C++ and Ch Programs. This user friendly IDE is
especially suitable for teaching and learning computer programming. In
addition, the new release contains many new plotting features, including
multiple coordinates, a number of new plotting types such as filled
curves, vectors, finance bars, candlesticks, boxes, error lines, error
bars, and many options to configure plots.

Embedded Ch contains extensive debug and callback interfaces.

Below is a list of Ch major features.

C/C++ interpreter
Show full article (4.76Kb)
no comments