Thanks Guys! :)
Type: Posts; User: Davros
Thanks Guys! :)
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...
Thanks Grumpy for taking the time to respond.
I guess that answers my question. Thank you. :)
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?
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...
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...
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...
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?
>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:
...
>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:
>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?...
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...
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...
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...
>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...
>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...
>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....
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...
>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...
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.
...
>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...
>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...
>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.
>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.
...
>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...