Search:

Type: Posts; User: Nephiroth

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    867

    HKEY hKey HKEY hkey; RegOpenKeyEx(hKey, ...

    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.
  2. Replies
    8
    Views
    4,359

    I know, but if you look further at the code, you...

    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,...
  3. Replies
    8
    Views
    4,359

    It has to do with, that the hGroupWarr gets the...

    It has to do with, that the hGroupWarr gets the message.Any way to 'forward' the messages to the messageproc?
  4. Replies
    8
    Views
    4,359

    here it is /* Author : Lars...

    here it is


    /*
    Author : Lars "Nephiroth" Wesselius
    For : British/Hollands Special Forces
    File : main.cpp
    Description : Main source file for WarManager
    ...
  5. Replies
    8
    Views
    4,359

    Weird that it doesnt work.Might be becuase i...

    Weird that it doesnt work.Might be becuase i defined HWND hBtn; in a function?
  6. Replies
    8
    Views
    4,359

    Button handler

    Kinda stupid - I actually forgot how to handle buttons :D



    HWND hBtn;

    hBtn = CreateWindowEx(
    0, //more or 'extended' styles
    ...
  7. Replies
    7
    Views
    5,025

    isnt the desktop hwnd HWND_DESKTOP?

    isnt the desktop hwnd HWND_DESKTOP?
  8. Replies
    3
    Views
    2,320

    I have, do i need to set it in dev-C++? EDIT:...

    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.
  9. Replies
    3
    Views
    2,320

    WM_INPUT and raw input

    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];...
  10. Replies
    13
    Views
    4,592

    I used SendMessage(handle, WM_IME_KEYDOWN,...

    I used SendMessage(handle, WM_IME_KEYDOWN, VK_RETURN, 0); to send enter to a hwnd
  11. Replies
    1
    Views
    853

    Sending key...

    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?
  12. Replies
    1
    Views
    1,429

    Wrong accept() call?

    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...
  13. Replies
    2
    Views
    2,902

    Im not using firewall, ill change the port to 50....

    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.
  14. Replies
    2
    Views
    2,902

    Winsock connection problem

    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...
  15. Replies
    2
    Views
    959

    Thanks

    Thanks
  16. Replies
    2
    Views
    959

    File permissions

    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
  17. Thread: File Issue

    by Nephiroth
    Replies
    12
    Views
    2,588

    ...im just trying to learn, not to get screwed by...

    ...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...
  18. Thread: File Issue

    by Nephiroth
    Replies
    12
    Views
    2,588

    bithbub: after that, it doesnt show any text at...

    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...
  19. Thread: File Issue

    by Nephiroth
    Replies
    12
    Views
    2,588

    It says that AppendText is not declared ...nvm,...

    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...
  20. Thread: DLL way

    by Nephiroth
    Replies
    2
    Views
    898

    DLL way

    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...
  21. Thread: File Issue

    by Nephiroth
    Replies
    12
    Views
    2,588

    anonytmouse's code isnt working at me.

    anonytmouse's code isnt working at me.
  22. Thread: File Issue

    by Nephiroth
    Replies
    12
    Views
    2,588

    Bithub, you solution replaces...just like settext

    Bithub, you solution replaces...just like settext
  23. Thread: File Issue

    by Nephiroth
    Replies
    12
    Views
    2,588

    File Issue

    I got this code



    string line;
    ifstream fin;
    ofstream ofin;

    do {
    if (fin.is_open()) {
  24. Thread: Status bar

    by Nephiroth
    Replies
    1
    Views
    1,079

    Status bar

    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...
  25. Replies
    8
    Views
    1,868

    great i used parts of your method to figure it...

    great i used parts of your method to figure it all out.Got it working now, thanks.
Results 1 to 25 of 29
Page 1 of 2 1 2