Search:

Type: Posts; User: Davros

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,286

    Thanks Guys! :)

    Thanks Guys! :)
  2. Replies
    4
    Views
    1,286

    Disk Information

    Hi there,

    How do I enumerate through installed disks and retrieve information, such as: capacity, and whether it is a CD/DVD drive etc?

    There doesn't appear to be anything offering this...
  3. Thanks Grumpy for taking the time to respond. ...

    Thanks Grumpy for taking the time to respond.

    I guess that answers my question. Thank you. :)
  4. Replies
    2
    Views
    1,129

    Why not take a standard image format, like JPG or...

    Why not take a standard image format, like JPG or PNG, use some existing libraries for coding/decoding these, but encrpt/decrypt the file data using RC4 or the like?
  5. Thanks for the reply. No--not really. (* See note...

    Thanks for the reply. No--not really. (* See note at bottom)

    What I'm asking is a very general question. Really, it is this:

    How do cause some function to be called on main thread...
  6. Initialising data when application initialises?

    What's the best way to initialise [static] data when the main thread of an application initialises?

    Here's what I mean: Let's suppose I am writing an api function which needs to work with some...
  7. Replies
    2
    Views
    1,169

    You are creating a circular reference and you...

    You are creating a circular reference and you need a technique called "forward declaration" to avoid it. That is to declare a class name, rather than include it so as not to create a circular...
  8. Replies
    1
    Views
    2,484

    throw in method declarations

    What does "throw" do when used in a method declaration?

    For example, here is a std::exception constructor:



    exception () throw();


    Why is throw used here?
  9. Thread: .NET woes

    by Davros
    Replies
    49
    Views
    6,174

    >Am I to understand now that MS is forcing us to...

    >Am I to understand now that MS is forcing us to use .NET to do mail, internet, messaging, etc, etc?

    But for other things, the Win API seems the only way to do things:
    ...
  10. Replies
    2
    Views
    40,950

    >I think the only way is to use the...

    >I think the only way is to use the std::wstring::copy method to copy the contents into a buffer.

    Or you could just re-cast it:

    C style:

    wchart* wc = (wchart*)s.c_str();

    or C++ style:
  11. Replies
    3
    Views
    1,402

    >but it would probably be a good idea to test. ...

    >but it would probably be a good idea to test.

    Yes. I think an old friend of mine may still have 98 laptop somewhere. May give him a call.


    >Could you create a unicode and non-unicode version?...
  12. Replies
    3
    Views
    1,402

    Think I found the answer. Wikipedia tells me: ...

    Think I found the answer. Wikipedia tells me:

    "Normally, the Win32 API provides both A (ANSI) and W (Wide-character) versions of most functions. On Windows 95/98/ME, only the A versions are...
  13. Replies
    3
    Views
    1,402

    Unicode v ANSI Calls

    Hi there,

    I am writing an application for which I am using unicode throughout.

    However, I would still like my code to run on a Win9x machine without Microsofts Unicode Layer support.

    What I...
  14. Replies
    3
    Views
    938

    You can set the clock in C++ to the nearest...

    You can set the clock in C++ to the nearest second using the
    the C:

    stime()

    function in time.h. My documentation tells me it is UNIX only, but I have been using it on Windows with BCB.

    In...
  15. Replies
    9
    Views
    1,988

    >Davros - I am interested in your progress. ...

    >Davros - I am interested in your progress.

    There's a lot of info out there about hooking functions at runtime. A typical application of this is monitoring & debugging. There's not a great deal...
  16. Replies
    9
    Views
    1,988

    >If you don't have anything against DLL files ...

    >If you don't have anything against DLL files

    The problem is that if I need to provide people with a DLL, then they may as well link to it from their application. The whole point of this exercise...
  17. Replies
    9
    Views
    1,988

    >Do you mean overwriting the code or like IAT...

    >Do you mean overwriting the code or like IAT hooking?

    Yes. I think so. I'm reading a load of stuff now, but having difficulty figuring it all out. There are so many different techniques....
  18. Replies
    30
    Views
    3,192

    Even I did write a bot, I don't think I would...

    Even I did write a bot, I don't think I would want to leave it unattended to gamble with my money. In any case, I could see why people may get upset if they thought they were playing against a human...
  19. Replies
    30
    Views
    3,192

    >If you're playing and the program is just...

    >If you're playing and the program is just telling you what to do, that's okay, right?

    That was my original thinking... a little app which flashes "FOLD" or "GO FOR IT". I never mentioned anything...
  20. Replies
    0
    Views
    1,625

    Clipart for Toolbar Buttons?

    Anyone know where I can get some [free to use] clipart icons suitable for toolbar buttons?

    Not silly cartoons, or ancient Win 3.1 icons, but snazzy modern looking ones with drop shadows etc.
    ...
  21. Replies
    30
    Views
    3,192

    >If you want to be a good poker player, you need...

    >If you want to be a good poker player, you need quick thinking, a straight face, and most importantly, patience.

    LOL! Why a straight face? On-line remember?


    >Think it hasn't been done 1000s...
  22. Replies
    9
    Views
    1,988

    >that kind of hook is used often to infect files ...

    >that kind of hook is used often to infect files

    I guess it could. But that's not what I'm looking to do. :)

    Lots of legitimate products use hooking techniques.


    >you can find this in a...
  23. Replies
    30
    Views
    3,192

    >besides writing a program to play the poker for...

    >besides writing a program to play the poker for you, then no it won't

    Yeh that's what I had in mind. Cos I'm crap at card games.
  24. Replies
    30
    Views
    3,192

    >If you live in the US, online poker is illegal...

    >If you live in the US, online poker is illegal right?

    Ahhh. I see.

    I don't live in the US. Here it is popular. Daily Newspapers are running campaigns to get people to play on-line poker.
    ...
  25. Replies
    30
    Views
    3,192

    >botting for malicious purposes are against forum...

    >botting for malicious purposes are against forum rules

    WTF?


    Please don't accuse me of acting with malicious purposes. I think you misunderstood my post.


    >so I'd rather not get into this...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4