CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: aommaster

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    476

    Image overlay from stream not working

    Hi everyone

    I have a few PNG files, with transparency and are of the same dimension that I would like to overlay.

    So far, I'm using this kind of code and it seems to be working fine:


    bg =...
  2. Replies
    2
    Views
    689

    Re: Would this WMI code work?

    Okay. Thanks :)
  3. Replies
    2
    Views
    689

    Would this WMI code work?

    Hi everyone!

    Does the following code make logical sense?


    hr = pclsObj->Get(L"ErrorCleared", 0, &vtProp, 0, 0);
    if (V_VT(&vtProp) == VT_BOOL)
    {
    if(SUCCEEDED (hr))
    {
  4. Replies
    0
    Views
    919

    Extracting GPU information

    Hi everyone!

    I'd like to know how to extract GPU, Memory and Shader clock speeds using C++. I don't believe that the WMI supports said feature (at least, the Win32_VideoController class doesn't...
  5. Replies
    0
    Views
    741

    Return values of some WMI classes

    I have a question regarding the output values of the WMI class Win32_PageFileSetting Class.

    I am executing a WQL query, and want to retrieve the property values of InitialSize and MaximumSize....
  6. Replies
    6
    Views
    1,228

    Re: Converting Strings to ints

    Hi Lindley!

    Yeah, I managed to fix the problem. What I've done is defined the variable in question as a double instead. I then use strtod() instead to get the value put.

    I believe it is the...
  7. Replies
    10
    Views
    6,613

    Re: Using the WMI to query hardware

    Hi!

    Thank you very much for that :)
  8. Replies
    6
    Views
    1,228

    Re: Converting Strings to ints

    Hi Lindley!

    I'm using the Visual C++ compiler. Is it possible that there is no support for it?

    Reason being is that I defined my variable as follows:
    Long Long Int var = 0;

    as the...
  9. Replies
    6
    Views
    1,228

    Re: Converting Strings to ints

    Aww.. I just got owned by a integer type problem (I'm so used to other programming languages where an int is just an int, and not a short or a long int).

    I don't believe a long long int exists in...
  10. Replies
    6
    Views
    1,228

    [RESOLVED] Converting Strings to ints

    Hi everyone!

    I have a bit of a problem converting a char array to an int. For some reason, I'm not getting the right value.

    The variables are as follows:
    vtProp comes from a WMI query and is...
  11. Replies
    10
    Views
    6,613

    Re: Using the WMI to query hardware

    Fantastic! Thanks :)
  12. Replies
    10
    Views
    6,613

    Re: Using the WMI to query hardware

    Hi Arjay!

    Thanks for your reply. Would there be any other advantages to using the Ccom Variant?

    Reason I ask is this:
    Consider this query: "SELECT * FROM Win32_LogicalDisk"
    and

    hr =...
  13. Replies
    10
    Views
    6,613

    Re: Using the WMI to query hardware

    Hi!



    Man... I feel like a total idiot now. I was just trying out some of these classes before making a program to get hardware information (and then put the info into a log) and I though that...
  14. Replies
    10
    Views
    6,613

    Re: Using the WMI to query hardware

    Hi!

    Thanks for taking the time to help me out. I am a bit of a newbie when it comes to programming in C++ (I don't have that extensive knowledge with the WMI, so whenever my compiler yells at me,...
  15. Replies
    10
    Views
    6,613

    [RESOLVED] Using the WMI to query hardware

    Hi everyone!

    Hopefully, this is in the right board, if not, please move it to where it belongs.

    I am currently writing an application to send WQL query to the WMI in order to get information on...
Results 1 to 15 of 15





Click Here to Expand Forum to Full Width

Featured