Search:
Type: Posts; User: vinayak4gargya
Search :
Search took 0.01 seconds.
Trust me . If it worked, i wouldnt be posting on this forum.
Service or not. Any way to do it?
Mouse Keys. Yes. But the problem is , i dont have a numpad.
Hi I want to create a service/app where i can control the mouse through my keyboard.
Any tips to get me started? Will this involve hooks?
Just a little push in the right direction.
October 15th, 2011 12:13 PM
Hey all
I didnt know what forum would be appropriate for this thread so i am just posting it here
I want to use another computers microphone as a recording device on my computer.
The computers...
October 8th, 2011 05:55 AM
The problem has been solved, it was masking indeed.. only i wasnt masking the correct way . . .
October 8th, 2011 05:49 AM
Hey
I have been having this problem of receiving multiple keyboard hook messages for every input. . .
e.g. if i press 'h' once , i receive it twice!
I have set the hook using...
September 23rd, 2011 12:30 PM
Yep got it!
Supposed to AND FileAttributes with FILE_ATTRIBUTE_DIRECTORY
Thanks a bunch :)
September 23rd, 2011 11:20 AM
Thanks A Lot!
Although ,it does not search directory within a directory.
September 23rd, 2011 09:58 AM
I am using Windows although I would be happy to port to Linux too.
And is there some Non-MFC alternative?
Thanks :)
September 23rd, 2011 09:10 AM
Could anyone tell me how to list out all the files in a folder?
e.g. if I want to extract all the .jpeg files from a folder, how do i go about it?
Any help would be appreciated.
Thanks :)
I didnt know where else to put this, so Im putting it here.. I found this code to lock folders on the web
www.hackingethics.com/blog/wp-content/uploads/2008/05/lock.txt
I would really...
Hi
Is there a way to obtain the hinstance of my program from the hdc value??
Just poking around!
January 9th, 2011 01:26 AM
Hi
I am trying to set a global keyboard hook with this code:
case WM_CREATE:
hHookInst = LoadLibrary(TEXT("HookProcedure.dll"));
hHookProc =...
December 28th, 2010 12:18 AM
Done it!!!!!
There was definitely something overwriting the snake head!
Of course the weird scoreline!
See I print the scoreline --"Your Score __"
Well I had declared this to be a static...
December 27th, 2010 08:18 AM
So what should the correct prototype be?
December 27th, 2010 08:11 AM
static BOOL bKeyPressed;
static HBITMAP hBitmap;
are the two variables I want in my code.
If I compile it with them I have a problem.
If I compile without them I dont have a problem
Both...
December 27th, 2010 08:06 AM
Ok heres some more detail...
case WM_TIMER:
InvalidateRect(hwnd,NULL,TRUE);
SetRect(&rect,pt[0][0].x,pt[0][0].y,pt[0][1].x,pt[0][1].y);
int check;
check =...
December 27th, 2010 07:41 AM
These are the values passed to MoveSnake
- pt 0x00bd81a0 pt tagPOINT [2]*
+ [0] {x=0 y=30} tagPOINT
+ [1] {x=10 y=40} tagPOINT
iDirect 1 int
iLength 4 int
after the function finishes...
December 27th, 2010 07:13 AM
Could this function be a problem?
void NewGame(BOOL *bFoodOnScreen,int *iDirect, int *iSnakeSize,POINT pt[500][2],int *iScore)
{
int i;
*bFoodOnScreen = FALSE;
*iDirect = 4;
*iScore =...
December 27th, 2010 05:33 AM
Heres WM_PAINT
case WM_PAINT:
hdc = BeginPaint(hwnd,&ps);
SetIso(hdc,cxClient,cyClient); //Mapping mode
hPen = CreatePen(PS_SOLID,5,RGB(255,255,255));
hBrush =...
December 26th, 2010 12:26 AM
Hi
I am trying to build a simple snake game.
I have pretty much done it. It works well but theres a little problem.
if i try to add a static variable over the code that i have written, i get a...
November 21st, 2010 12:00 PM
oooh thanks a lot! So i need to hook into a process first?? Could somebody please elaborate on 'hooking'.. Or link to an article probably?
November 21st, 2010 12:35 AM
well basically i want to log all keystroke events...
From the debugger it is evident that i get the foreground window... (a call to showwindow(hwnd,SW_HIDE) works)
But the keystroke events in...
November 19th, 2010 08:39 AM
Hi
Is this code for changing an application's window procedure correct , cuz im having trouble with it
while(TRUE)
{
hwnd = GetForegroundWindow();...
Click Here to Expand Forum to Full Width