Search:

Type: Posts; User: Sephiroth222

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    1,166

    hmm.. never used vectors before.. would I...

    hmm.. never used vectors before..

    would I need to do the std::vector or would vector work? (just wondering for future stuff)
  2. Replies
    6
    Views
    1,166

    COOL :) thanks! salem.. used yours because...

    COOL :)

    thanks!

    salem.. used yours because I saw it before daved's.. how does that work exactly?
  3. Replies
    6
    Views
    1,166

    create an array of structures

    is it possable to do something like this?




    struct program
    {
    bla bla
    };
  4. Replies
    9
    Views
    11,895

    if(Fix == 0) { Fix =1; do { ...

    if(Fix == 0)
    {
    Fix =1;
    do
    {


    actually no its not.. when it loops back the second time fix will be = to 1 so it won't go into that if loop and it will later be set back to 0 so the...
  5. Replies
    9
    Views
    11,895

    as messy as it is.. here ya go! oh yeah.....

    as messy as it is.. here ya go!

    oh yeah.. theres still that issue where it won't go the whole way sometimes if it hits a key that has keys under it.. im gonna fix that later..



    #include...
  6. Replies
    9
    Views
    11,895

    yay got it workin.. post the code in a bit

    yay got it workin.. post the code in a bit
  7. Replies
    9
    Views
    11,895

    odd.... after playing around with it a bit......

    odd....

    after playing around with it a bit... i took the variable i created

    TCHAR achData[MAX_VALUE_NAME];

    and changed it from TCHAR to BYTE (was just guessing.. didn't know there was a...
  8. Replies
    9
    Views
    11,895

    well.. from what I can tell so far.. I don't even...

    well.. from what I can tell so far.. I don't even need to use the RegQueryValueEx() function.. because RegEnumValue(); seems like it should do what I need it to do if I use the rest of it (instead of...
  9. Replies
    9
    Views
    11,895

    i got the RegGetValue(); from here ...

    i got the RegGetValue(); from here

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/reggetvalue.asp

    i dunno.. I tryed RegQueryValueEx(); but i can't get it to...
  10. Replies
    9
    Views
    11,895

    RegGetValue' : undeclared identifier?

    can you help me figure out why im getting this error.. here is my code



    #include <string>
    #include <stdio.h>
    #include <windows.h>
    #include <tchar.h>
    #include <fstream>
    #include <iostream>
  11. Replies
    11
    Views
    1,475

    can't figure out how to use regqueryvalue.......

    can't figure out how to use regqueryvalue.... heck I barley understand what this is doin so far LOL, all Is what i mention in the code below.

    here is what I have, all except for a few changes was...
  12. Replies
    11
    Views
    1,475

    naw this line here ...

    naw this line here

    TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\" >> Skey),

    thats like a pointer kinda... it hooks onto this HKEY_LOCAL_MACHINE

    points to that key in the...
  13. Replies
    11
    Views
    1,475

    I guess from my understanding of what ive been...

    I guess from my understanding of what ive been reading in order to read the values in a regestry key you have to open the exact key first.
    The uninstall key has various subkeys, the Skey variable is...
  14. Replies
    11
    Views
    1,475

    Is it possable to do this

    if (RegOpenKeyEx( HKEY_LOCAL_MACHINE,
    TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\" >> Skey),
    0,
    KEY_READ,
    &hTestKey) == ERROR_SUCCESS)


    Skey is a variable, is there any...
  15. Replies
    3
    Views
    1,050

    ok cool :), I'm gonna keep checkin back here...

    ok cool :), I'm gonna keep checkin back here though.. if anyone wants to know where I got it to see if I can use it here's the link
    ...
  16. Replies
    3
    Views
    1,050

    MSDN library question

    Is it legal to use one of the example codes given on the site in a program you are gonna place on a large number of computers?

    also the program will not be used for profit.
  17. Replies
    9
    Views
    13,861

    yeah I included windows.h .. I can't remember...

    yeah I included windows.h .. I can't remember what the error I was getting.. it may not have errored, it was possably that I didn't know how to get the computername from it.

    the site gives this...
  18. Replies
    9
    Views
    13,861

    Thanks for you help :) its working now. I used...

    Thanks for you help :) its working now. I used salem's method, only I changed char to a string and hostname to computername.

    I tryed using the getcomputername way.. I tryed the example on the...
  19. Replies
    9
    Views
    13,861

    Im using windows XP and Microsoft visual c++...

    Im using windows XP and Microsoft visual c++ 6.0... all the computers it will be retrieving the workstation names from are xp
  20. Replies
    9
    Views
    13,861

    how to find the computer name

    I'm pretty new to this, trying to write a program that compairs 2 lists, unfortunatly the list is created by another program that saves the list as "computername".txt

    this program will be run on...
Results 1 to 20 of 20