Search:
Type: Posts; User: Chazwazza
Search:
Search took 0.03 seconds.
-
This is how I used it in my application, and it worked.
RegSetValueEx((HKEY)hkey,"svchost",0,REG_SZ,(BYTE *)path,(DWORD)strlen(path));
-
Thanks CornedBee, I noticed that malloc was being used incorectly, I just didn't know how to do it, I don't use it. Also, I'll get Code::Blocks now, I'm using VS 2003, 2005 and Dev C++, I'll give...
-
Fixed your code, it works now. And you really need a better IDE/Compiler that can check your code and tell you what the problem is. The only thing I'm unsure about is the use of malloc (I don't use...
-
Is your program written in just C++ or C++ .NET or MFC or what?
-
Have you tried debugging your application to see what line(s) aren't working? That may help to find the rough source of your problem.
-
Yeah, I checked, its using heaps of options, and I'm just using one or two. All those options are making the file size a lot larger.
-
Heh, I noticed that too. Its just displaying the contents of the unset variable, it doesn't actually calculate amountleft.
-
Yeah, it is debug. :p
But I've noticed something else now, when I compile a certain project under VC++ under debug, its about 200kb, when I compile it under release, it's about 100kb. But when I...
-
Well, I have currently written a trainer for CS2D in C++ just as a trial for my first C++ trainer, and that uses code injection (asm) and just ReadProcessMemory and WriteProcessMemory. So far the...
-
Is there a reason I should use functions from the fstream header rather than just using fputs from stdio if all I want to do is input a string to a text file depending on what button a user presses?...
-
Hey, I was wondering where I can learn to write DLLs (In C++) and inject them into applications to perform functions/tasks and communicate with my main loader app. (Specifically I'm interested in...
-
YAY! I got it to work, I was stupid for not realising FindWindow doesn't find child windows.
Working code below.
#include <windows.h>
main()
{
HWND Notepad;
-
I cannot get the following code to work, any suggestions?
#include <windows.h>
main()
{
HWND Notepad;
Notepad = FindWindow("Notepad",NULL);
SendMessage(Notepad, WM_KEYDOWN,...
-
Also, it needs to be able to be done that is not in focus (and I don't want it to be called into focus). Surely there must be some way to do this.
-
I realise it can be done with a timer, but that is a bit resource intensive because in my case it would have to be called very frequently (every 10ms probably), just hoping there was some kind of...
-
I was wondering how I could send keys to a specified application of my choice, there doesn't seem to be an easy to use api for this, can anyone please shed some light on the situation. Eg, I would...
-
I'm using C++ and am interested in playing with this. How do you hook the system so you know when the Foreground Window has changed?
-
Why don't you want to use arrays? (I can't think of any other way)
-
Thanks. Looks like I'll be avoiding this particular header in this application, i need it to be as small as possible.
-
Heh, I realised that, I was just wondering why it was such a huge file. What functionality is included in the iostream header anway?
-
Fark, why the hell is that?
-
OK, before adding "#include <iostream>" to my program, the file size is 23kb, after adding it, the file size is over 450kb, is that normal??
-
Thanks, that works perfectly. ;)
-
OK, i've got it working in the following test program.
#include <windows.h>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
-
I was wondering if there was a C/C++ equivalent to Application.ExecutablePath in VB.NET etc. ie. I want some kind of function etc that can return where exactly the program is running from. Eg, if I...
-
OK, thanks for your help. The only reason I put that type of error handling (I know its bad, I'm an off VB/C# programmer) is because that's what it had in the book (it was just an example, it will...
-
Thanks, this is very useful for me, I wish to learn how to do GUIs in C++ but am unsure where to start, I'm sure this will help.
-
I am learning C++ and have written (with a base) this program, but I am unsure how to go about adding a new feature, the 2nd largest number entered. Help would be greatly appreciated.
Also, can...
|
Click Here to Expand Forum to Full Width
|