|
Hello guys and gals,
First of i'm not a programmer myself so take it easy on the programming lingo
But i'm confident you guys can help me with what im looking for or at least guide me in the right direction.
What i want to do:
I want to be able to read/search a specific processes allocated memory for specified data and then export it to notepad or whatever. For those of you that ever tried GameHack might understand better the thing im after.
Are there any tools you know of that can help me with this? If not do you have any other ideas on how i can achive this?
Thanks a bunch guys!
|
|
|
|
|
See this thread and this article for ideas.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Thanks... Kinda helpfull. TSearch seems to be usefull in "automating" the feature. Meaning i can assign hotkeys to take snapshots (and hopefully export to txt format) at any given time.
Someone mentioned to me that perl maybe the best language to create the "ultimate" tool im looking for. Any comments on whether or not perl would be usefull for this?
|
|
|
|
|
stumdoes wrote:
Any comments on whether or not perl would be usefull for this?
The only thing I know about Perl is how to spell it.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
ha ha ha.. Kinda saw that one comming since im in the C++ fora
Merry Xmas mate and thanks for the help so far!
|
|
|
|
|
stumdoes wrote:
Kinda saw that one comming since im in the C++ fora
I do know plenty of other programming languages, Perl just happens to not be on that list. With the potpourri of programmers we have here, surely someone can offer some insight, although you might have to try different forums. There's also the Usenet newsgroups.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Well ive been doing some reading here and on diffrent forums. Seems some have been wanting to do the same thing i am after with VB and have been shutdown but other programmers since they say its simply to hard in VB. Alltho they recomend C for the job.
Lets say i can identify the addresses of the memory data im intressted in with TSearch for instance. How hard would it be to program a piece of C to simply read these addresses and dump them to a txt file with a push of a button/hotkey? Im pretty sure you can add parameters to the ReadProcessMemory function, no?
|
|
|
|
|
stumdoes wrote:
Lets say i can identify the addresses of the memory data im intressted in with TSearch for instance. How hard would it be to program a piece of C to simply read these addresses and dump them to a txt file with a push of a button/hotkey?
In effect, that's what the picture in this article depicts. The contents of memory location 0x791188 are being displayed in the bottom box.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Hi all ,
\LibraryAppl.cpp(44) : error C2143: syntax error : missing ';' before '*'
\LibraryAppl.cpp(44) : error C2501: '_Connection' : missing storage-class or type specifiers
\LibraryAppl.cpp(44) : error C2501: 'gCon' : missing storage-class or type specifiers
MainFrm.cpp
Generating Code...
Can anybody help for above Error ...
if i import the Msado15.dll and delcare _Connection Globaly it give me error
but if i do it in new work space it does not ......
( and i dont wnat to write the application again )
Thx..
x86
|
|
|
|
|
Do you have source code for LibraryAppl.cpp ?
Can you post another message with lines 43, 44, and 45 of that source file?
It seems that LibraryAppl.cpp did not get the include file for Ado before compilation of the source file started.
|
|
|
|
|
Can any body give the simple code by which i can count total number of characters typed in a RichEdit Control 2.
Pls
Learner always
|
|
|
|
|
How about GetWindowTextLength() ?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Can any body tell me the code to insert emoticons ("bmp picture") in RichEdit Control 2 which replace by special character like ':' and ')'.
Learner always
|
|
|
|
|
Hello,
I want to invoke a webservice from a C++ project with a structure as a parameter. I ve tried that with a soap COM object through the "invoke" procedure but it accepts only predefined types (of type VARIANT). There is no possibility to put a user defined structure as a parameter.
can someone help on this issue to find an alternative or a work around ?
Thanks in advance
Selim Ben Yedder
|
|
|
|
|
Are you using Visual Studio 6.0 ?
If yes, consider moving to Visual Studio .Net 2003. It has the excellent Add Web Reference wizard, which will generate wrapper classes for Web Services. This means that if a Web Service's WSDL defines that it takes an array, the invoking method of the class also requires an array.
If you can't upgrade the environment, try fetching the latest SOAP Toolkit from Microsoft and installing it. It's support will be retired in April 2005, but it's still available for download here[^]. The main reason for SOAP Toolkit deprecation is the coming of .NET Framework, which inherently supports Web Services. Using .NET requires Visual Studio .Net 2002 or later, though, so you're in the same problem again.
The SOAP Toolkit specifies the COM object SoapClient30 . This COM object can initialize itself based on a WSDL file. Having said that, obtain a WSDL file for the Web Service you wish to use, use COM to create the SoapClient30 object, initialize it with the WSDL file, and you can directly call the method that takes an array as a parameter.
-Antti Keskinen
----------------------------------------------
"If we wrote a report stating we saw a jet fighter with a howitzer, who's going to believe us ?"
-- R.A.F. pilot quote on seeing a Me 262 armed with a 50mm Mauser cannon.
|
|
|
|
|
I have an App. A which is accessing a text file. I have created App. B to update automatically the contents of the text file. But I do not want to exit App. A just to recognize my changes. What should I do to make this possible. The only changes I can do is on App. B, since I have just created that application.
|
|
|
|
|
hi
u better continuously query for the file size and keep track of the previuos size. if there is mismatch between previous and current file size, it means App A updated the file, then read that file
naren
|
|
|
|
|
It sounds like you want FindNextChangeNotification() or ReadDirectoryChangesW() . Yes?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Sorry but that is not how it should work since APP A might be using the file but at the same time APP B will be updating the same text file. I would start APP B anytime to make the necessary changes of the text file.
|
|
|
|
|
Either of the two functions that I mentioned can be used by app B to be notified after app A has made changes to some file. Once app B has received notification, it can update the file accordingly. If there is a chance that app A will update the file before app B has finished, I do not know of a solution since you cannot change app A.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
I have the following code in CYourView where CYourViewis derived from CRichEditView:
OnTimer(..)
{
if (IsClipboardFormatAvailable(CF_TEXT)
{
if ( pYourView->GetDocument()->seqNumber!=GetClipbardSequenceNumber()
pYourView->OnEditPaste();
}
if (IsClipboardFormatAvailable(CF_METAFILEPICT)
{
if ( pYourView->GetDocument()->seqNumber!=GetClipbardSequenceNumber()
{
CRichEditCtrl& rCtrl = GetRichEditCtrl();
rCtrl.PasteSpecial(CF_METAFILEPICT);
}
}
if (IsClipboardFormatAvailable(CF_DIB)
{
if ( pYourView->GetDocument()->seqNumber!=GetClipbardSequenceNumber()
{
CRichEditCtrl& rCtrl = GetRichEditCtrl();
rCtrl.PasteSpecial(CF_DIB);
}
}
}
Sometimes it pastes and sometimes it doesn't.I cannot understand why.
|
|
|
|
|
On the uninstall section of an application I wrote I have added a shellexecute command which opens the application.
When I run the uninstall from the add\remove programs on win 2000/XP the add\remove programs window , the add\remove program window remaines locked even though the uninstall process has terminated - it seems that running the shellexecute command from the uninstall process is causing this problem.
Can you offer an advise how to overcome this problem?
|
|
|
|
|
Hi,
My name is Michael. I am trying to find a way I can print out an opened browser's x,y,width and length coordinates (like I can with a regular mainframe using the CWnd::GetWindowRect function call). I also want to do other things like count how many images are currently in the browser and get each x,y,width and length from all the images.
What I tried doing was use a loop with a CWnd pointer called wnd that was initialized to point at 'this' (the program's dialog box) before the loop started. Then, I used..
wnd = wnd->GetNextWindow(GW_HWNDPREV);
to point at previous windows in the memory bank, stored the name of each window on a string and kept getting previous windows until ::IsWindow(wnd) was false or until the string "- Netscape" was found within the string. Then I used another loop with...
wnd = wnd->GetNextWindow(GW_HWNDNEXT);
in it instead (to get next windows). Then, when the computer finally found the pointer to any Netscape Browser that was opened, the loop would then terminate. I then used
wnd->GetWindowText(str);
AfxMessageBox(str);
to test it out and it worked! but when I used
wnd->GetWindowRect(size);
I would get some strange numbers until I either minimized or maxamized the browser. Then I would get 0, 0, 600, 800 when the browser was minimized and a constant values between 0 and 600 (for x), 0 and 800 (for y), 0 and 600 (for width), 0 and 800 (for height) and no matter if I resize the browser window, I would get the same numbers. Also, SetWindowText wouldn't work. I found out I need to use something like...
CComPtr<iwebbrowser2> browser;
CComPtr<iserviceprovider> isp;
but I don't know how to use these.
Thank you for any help,
Michael S. Lowe
Michael S. Lowe
|
|
|
|
|
hi all,
I am doing MFC Dialog base Project.Now I want to change the Color of the Menu Bars..
how do I do that?
if any one know it ,please send me a reply..
Thanks in advance..
|
|
|
|
|
How do we detect tone/pulse coming into a modem from a standard telephone? I am using CreateFile to connect to the modem and ReadFile/WriteFile for I/O.
|
|
|
|