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...
Type: Posts; User: guitarist809
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...
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...
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...
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...
Thanks - exactly what I needed :)
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...
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...
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...
That is an excellent idea! Thanks for the recommendation.
Thanks for the help,
Guitarist809
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...
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...
I did. It only showed the results from the last month. (288 total I think).
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 (...
Hey
I tried the following code, but it still didn't work.
if ( GET_XBUTTON_WPARAM ( wParam ) && XBUTTON2 )
{
OutputDebugString ( _T("Button 2\n") );
}
else
I've tried going here. There was nothing useful that helped me.
I have and unfortunately, I have had no success =\
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 )...
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...
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:...
Thanks for the replies, guies.
That last bit of code looks like it should work just fine for me.
Thanks!
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...
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...
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.
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),...
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 :(
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...