ok i can get that to work, but id like to put it in a .dll if possible, as i would like to apply it to other prorams when they are started
Type: Posts; User: mayhem
ok i can get that to work, but id like to put it in a .dll if possible, as i would like to apply it to other prorams when they are started
I only have C console programming experience.
But i would like to make a .dll that i can put in my c:\windows\system32 folder.
As everytime i open my calculator my numlock goes off.
I would...
I can't assign a char * pointer to it, which is what i would like to do.
As for:
"Also, don't just vomit up a bunch of code and expect us to debug the whole thing for you."
I never asked you...
Hey. Using Borland C++ Builder 3 on Win XP
Problem:
Not quite sure how to test if the item in the direcory im travelling through is a folder. I have had a great big look here, there and...
Windows XP pro SP1 Borland C++ Biulder 3
Im not sure how to print the size of each file in this directory?
any ideas?
the only way i know is using ftell, which im not sure if i can use it in this situation.
#include <dirent.h>...
ok i solved the problem. No idea what it was.
Thanks anyway
ok sorry i've just seen a mistake in my code. It should read
#include <condefs.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <windows.h>
#include...
#include <condefs.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <windows.h>
#include <winsock.h>
fd_set fdread;
struct ItemNode *itemlist = NULL;
ok, i eventually found it on MSDN, the function cant be called to retrieve text from other processes.
the solution in case anyone has the need: is to simple copy to the the windows clipboard as...
I have the handle names of a edit box which is a child of a combo box. these two controls are in another application.
using:
SendMessage(txtBox, WM_SETTEXT, NULL,...
ok i saw a post down the list, it said you can use the resourse editor, this edit box i am trying to recieve text from is an another application.
so im not sure about how to do the equivilient, i...
Im using this functiuon here:
UINT GetDlgItemText(HWND hDlg,
int nIDDlgItem,
LPTSTR lpString,
...
I currenly have a console chat client.
Is there anyway i can make a program that recieves window messages sent from the console window each time text is displayed.
Then each time my program...
Windows 2000 Pro
ok ill look up AttachThreadInput() . no doubt ill need it sometime.
yeah, thats the code, and yeah it worked
no i didn't. I just though the control might to have focus before i could set the text.
But there is no need for setfocus anymore
ok, sendmessage worked. how simple.
thanks for your help
//---------------------------------------------------------------------------
#include <process.h>
#include <stdlib.h>
#include <time.h>
#include <vcl.h>
#include <Windows.h>
#pragma hdrstop
...
ah isee.
the second bit of code
::SetFocus(hBut)
i also tried:
i used
hBut = FindWindowEx(hWnd, hBut, "TEdit", NULL);
i used spy++ yo check the handle is right
I have just recieved the handle of an Edit box in another application. I want to put some text in there.
Does the control have to have focus before i place text in there?
I looked up MSDN, it...
Thanks that worked heaps better.
That opened the new window, but now generated another error.
The new window contains two comamnd buttons and 2 edit boxes
This is where i try to assgin the...
I use Borland C++ Builder 3, Win 200 Pro.
From within my program I use SendMessage to click a command button in another application. This works and another window pops up, this new window has...