Search:

Type: Posts; User: guitarist809

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    3,984

    Static function pointer linker error

    Hello all,

    I'm writing a class with a static function pointer in it, however I'm getting a linker error saying that it is an unresolved external symbol. Here's my code:

    BindHook.h

    #ifndef...
  2. Replies
    1
    Views
    2,860

    Sockets Problem C++

    Hey all,

    I'm making a quick wrapper in C++ using the WinSock2.h header file. It compiles fine, however for a server, it fails to listen for a connection. It just connects to nothing and grabs the...
  3. Replies
    2
    Views
    3,575

    Hey, I actually got that far, but ran into...

    Hey,

    I actually got that far, but ran into another problem. When I click the button it just draws over it with the clicked state (another png image with transparency) resulting in a messed up...
  4. Replies
    2
    Views
    3,575

    PNG image as button background

    Hey,

    I'm trying to use a PNG image (with transparency) as a button background image. I tried using this to accomplish the task, however it just leaves a blank box on the window and only highlights...
  5. Replies
    5
    Views
    2,609

    Thanks - exactly what I needed :)

    Thanks - exactly what I needed :)
  6. Replies
    5
    Views
    2,609

    Thanks for the responses. Thats kinda how I...

    Thanks for the responses.

    Thats kinda how I was confused. I know how to use the resource editor, I just don't know how to use it for the main window. I can make dialog's and such, and then display...
  7. Replies
    5
    Views
    2,609

    Main window in Win32 programming

    Hey everyone,

    I read theForger's Win32 API Tutorial for creating Win32 apps today, and it all made sense except for one part. How do you customize the main window? I'm used to creating MFC dialog...
  8. Replies
    10
    Views
    1,456

    What I'm thinking of doing is adding a username...

    What I'm thinking of doing is adding a username to an online mysql database, having this program connect to it and if a user enters a certian key in the db, it checks for it and then erases it (after...
  9. Replies
    10
    Views
    1,456

    That is an excellent idea! Thanks for the...

    That is an excellent idea! Thanks for the recommendation.

    Thanks for the help,

    Guitarist809
  10. Replies
    10
    Views
    1,456

    I'm actually just trying to prevent people from...

    I'm actually just trying to prevent people from using my program without permission. I'm only giving it to close friends, however, I don't want some generic "enter password to continue" input that...
  11. Replies
    10
    Views
    1,456

    Program Key

    Hey,

    I'm thinking of adding a registration part to one of my programs. Essentially the program would give a user a certain number, which they would forward to me, and then I would send them an...
  12. I did. It only showed the results from the last...

    I did. It only showed the results from the last month. (288 total I think).
  13. Hello again. I was experimenting with every...

    Hello again.

    I was experimenting with every possible thing I could think of and I finally got a result.


    PMSLLHOOKSTRUCT p = (PMSLLHOOKSTRUCT) lParam;

    if ( GET_XBUTTON_WPARAM (...
  14. Hey I tried the following code, but it still...

    Hey

    I tried the following code, but it still didn't work.


    if ( GET_XBUTTON_WPARAM ( wParam ) && XBUTTON2 )
    {
    OutputDebugString ( _T("Button 2\n") );
    }
    else
  15. I've tried going here. There was nothing useful...

    I've tried going here. There was nothing useful that helped me.




    I have and unfortunately, I have had no success =\
  16. Thanks for the advice. Unfortunatly, it still...

    Thanks for the advice.

    Unfortunatly, it still only goes with "Mouse 5" for both of the side mouse buttons.

    I replaced that code with


    if ( GET_KEYSTATE_WPARAM ( wParam ) == MK_XBUTTON1 )...
  17. Mouse Hook Question (Can't determine whether or not button is XBUTTON1 or XBUTTON2)

    Hey.

    I've got a low level mouse hook that is keeping track of button clicks (lbutton,rbutton,mbutton,xbutton). However, when xbutton is pressed, I cannot figure out how to determine whether or not...
  18. Replies
    7
    Views
    3,232

    Actually, is there any possible of doing this...

    Actually, is there any possible of doing this without using globals? (I'm getting linker errors with this)

    Is the only way to make everything in the class static?

    Err:
    error C2352:...
  19. Replies
    7
    Views
    3,232

    Thanks for the replies, guies. That last bit...

    Thanks for the replies, guies.

    That last bit of code looks like it should work just fine for me.

    Thanks!
  20. Replies
    7
    Views
    3,232

    Compiler Error with Classes

    Hey,

    I get this error when I compile the following code:

    1>c:\users\******\desktop\macrokeys 4\macrokeys 4\keyboardhook.cpp(12) : error C2440: 'type cast' : cannot convert from...
  21. Replies
    3
    Views
    8,571

    Actually no. I'm trying to make a program that...

    Actually no.

    I'm trying to make a program that simulates keypress by pressing a key and simulating a whole other key. So if someone presses the left mouse button, it will instead simulate the...
  22. Replies
    13
    Views
    1,533

    Thank you so much. (+1 if I could) I can't...

    Thank you so much. (+1 if I could)

    I can't believe how simple it was to get this working. I thought for sure I was doomed :D

    Thanks again for the help.
  23. Replies
    13
    Views
    1,533

    Man, I'm about to give up on this. I've tried...

    Man, I'm about to give up on this.

    I've tried almost every one of the C++ wrappers offered, half of them don't work off the bat (even onces with examples, missing include files or other stuff),...
  24. Replies
    13
    Views
    1,533

    I've spent hours trying to get it to work. No...

    I've spent hours trying to get it to work. No matter what I do, Visual Studio 2008 keeps giving me linker errors (I followed the BOOST tutorials, doing exactly what they told me to do). I gave up :(
  25. Replies
    13
    Views
    1,533

    I'm sorry for posting again, but I'm having a ton...

    I'm sorry for posting again, but I'm having a ton of trouble finding a C++ wrapper. They either need BOOST or they only work with MFC. This has been giving me a headache all day.

    Does anyone know...
Results 1 to 25 of 157
Page 1 of 7 1 2 3 4