HKEY hKey
HKEY hkey;
RegOpenKeyEx(hKey,
good one is used.the argument has a uppercase, same for the parameter passed in RegOpenKeyEx.Very confusing when having two such variables.
Type: Posts; User: Nephiroth
HKEY hKey
HKEY hkey;
RegOpenKeyEx(hKey,
good one is used.the argument has a uppercase, same for the parameter passed in RegOpenKeyEx.Very confusing when having two such variables.
I know, but if you look further at the code, you see that im hiding the hGroupWarr, which will also hide all controls on it.
But I have another idea.Instead of the groupbox, Ill make a new window,...
It has to do with, that the hGroupWarr gets the message.Any way to 'forward' the messages to the messageproc?
here it is
/*
Author : Lars "Nephiroth" Wesselius
For : British/Hollands Special Forces
File : main.cpp
Description : Main source file for WarManager
...
Weird that it doesnt work.Might be becuase i defined HWND hBtn; in a function?
Kinda stupid - I actually forgot how to handle buttons :D
HWND hBtn;
hBtn = CreateWindowEx(
0, //more or 'extended' styles
...
isnt the desktop hwnd HWND_DESKTOP?
I have, do i need to set it in dev-C++?
EDIT:
I have included the library's, the bins and the includes, but it gives me alot of errors all over the code.Also in the .h files there are many errors.
I got this piece of code, but it keeps giving me: RAWINPUTDEVICE not declared, while msdn says its declared in winuser.h, I included that, and it still doesnt work.Why?
RAWINPUTDEVICE Rid[2];...
I used SendMessage(handle, WM_IME_KEYDOWN, VK_RETURN, 0); to send enter to a hwnd
How can i send a key to a hwnd?
I want return (enter) to be sent to a hwnd
SendMessage(edit, WM_KEYDOWN, 0, (LPARAM)VK_RETURN);
didnt work.What should i use?
I have made a server and a client.At first, I made a very simple server and client, the connection worked - client connected to server without any problems.But now I rewrote the server to make it...
Im not using firewall, ill change the port to 50.
EDIT:
Both my friend and me are not using firewalls, and i have changed the port to 50.Still the timed out error.
I got a server and a client, i run the server on my own computer, i first tested the client to connect to 127.0.0.1 and that worked fine, now i wanted to test it outside my network, so i sent it to a...
Thanks
I wonder how i can view and set file permissions.Like settings a file to read only, and checking if it still is.
Is this possible??Please tell me how
...im just trying to learn, not to get screwed by some guy who thinks everyone should know everything when they are coming on this forums.Im trying to understand the way, im having a hard time with...
bithbub: after that, it doesnt show any text at all
Salem: [Linker error] undefined reference to `foo()'
while i defined void foo(); above the code, and i called it with foo();
EDIT: now...
It says that AppendText is not declared
...nvm, im using that now.I got this
SendMessage(hTextbox, WM_SETTEXT, 0,0);
TCHAR szText[4096];
va_list...
Ive read the article about "How DLL's tick" on MSDN, and I read a couple of tutorials about DLL's, and DLL injection, but I still dont seem to understand a couple of things.
First of all, most...
anonytmouse's code isnt working at me.
Bithub, you solution replaces...just like settext
I got this code
string line;
ifstream fin;
ofstream ofin;
do {
if (fin.is_open()) {
I have searched the forum for answers to my question, but it seems that its still now working, even with the answers other people already received.
I use Dev-C++
Ive made sure it loads...
great i used parts of your method to figure it all out.Got it working now, thanks.