Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3356
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

index.php?t=getfile&id=1849&private=0
  • Attachment: SysInfo.png
    (Size: 134.66KB, Downloaded 604 times)


Best regards
Iñaki

[Updated on: Wed, 15 July 2009 23:45]

Report message to a moderator

icon14.gif  Re: New functions to SysInfo [message #22450 is a reply to message #22447] Thu, 16 July 2009 14:35 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Good job and handy package! Thanks!
Re: New functions to SysInfo [message #25333 is a reply to message #22450] Wed, 17 February 2010 14:42 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

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 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3356
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 Smile

I recognize I was lazy when using xwd.

Now your proposal is in the todo list Smile


Best regards
Iñaki
Re: New functions to SysInfo [message #25340 is a reply to message #25335] Wed, 17 February 2010 18:20 Go to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

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 Smile

I recognize I was lazy when using xwd.

Now your proposal is in the todo list Smile

Previous Topic: How to get/set keyboard layout in u++
Next Topic: TabBar translation file
Goto Forum:
  


Current Time: Fri Apr 19 03:22:23 CEST 2024

Total time taken to generate the page: 0.02535 seconds