Home » Developing U++ » UppHub » New functions to SysInfo
Re: New functions to SysInfo [message #22447 is a reply to message #21816] |
Wed, 15 July 2009 23:37 |
|
koldo
Messages: 3372 Registered: August 2008
|
Senior Veteran |
|
|
Hello all
I have included a new SysInfo_demo_console package to demonstrate many SysInfo functions in a gui program for Linux and Windows.
Some screenshots are included in a single image below.
There are also included in SysInfo new functions (only Windows by now) to:
- Record the desktop or window activity in a video file. If defined it includes real mouse movement
- Get the list of installed programs
- Get the list of video cards
Internally WMIC has been substituted by WMI, so the program has better access to the internal system including in Vista.
This advantage however requires only for MinGW to copy the next files:
- Rpcsal.h, DispEx.h, WbemCli.h, WbemDisp.h, Wbemidl.h, WbemProv.h and WbemTran.h
from \Microsoft SDKs\Windows\v6.1\Include
to \Upp\MinGW/include
- wbemuuid.lib
from \Microsoft SDKs\Windows\v6.1\Lib
to \Upp\MinGW\lib
Best regards
Koldo
-
Attachment: SysInfo.png
(Size: 134.66KB, Downloaded 615 times)
Best regards
Iñaki
[Updated on: Wed, 15 July 2009 23:45] Report message to a moderator
|
|
|
|
Re: New functions to SysInfo [message #25333 is a reply to message #22450] |
Wed, 17 February 2010 14:42 |
|
Hello Koldo!
Can I ask you about get screenshot from linux.
Why you use xwd shell command but not directly from x11 lib function
XImage *XGetImage(display, d, x, y, width, height, plane_mask, format)
Display *display;
Drawable d;
int x, y;
unsigned int width, height;
unsigned long plane_mask;
int format;
Here is full description:
http://tronche.com/gui/x/xlib/graphics/XGetImage.html
In the end you made a great job!
Regards, Ion Lupascu (tojocky)
|
|
|
Re: New functions to SysInfo [message #25335 is a reply to message #25333] |
Wed, 17 February 2010 15:50 |
|
koldo
Messages: 3372 Registered: August 2008
|
Senior Veteran |
|
|
tojocky wrote on Wed, 17 February 2010 14:42 | Hello Koldo!
Can I ask you about get screenshot from linux.
Why you use xwd shell command but not directly from x11 lib function
XImage *XGetImage(display, d, x, y, width, height, plane_mask, format)
Display *display;
Drawable d;
int x, y;
unsigned int width, height;
unsigned long plane_mask;
int format;
Here is full description:
http://tronche.com/gui/x/xlib/graphics/XGetImage.html
In the end you made a great job!
Regards, Ion Lupascu (tojocky)
|
Thank you tojocky
I recognize I was lazy when using xwd.
Now your proposal is in the todo list
Best regards
Iñaki
|
|
|
Re: New functions to SysInfo [message #25340 is a reply to message #25335] |
Wed, 17 February 2010 18:20 |
|
You are welcome!
I'm glad that my proposal help you!
Thank you for add this in the todo list!
koldo wrote on Wed, 17 February 2010 16:50 |
Thank you tojocky
I recognize I was lazy when using xwd.
Now your proposal is in the todo list
|
|
|
|
Goto Forum:
Current Time: Mon Jun 10 14:06:46 CEST 2024
Total time taken to generate the page: 0.02150 seconds
|