|
I need a software like the following:
This software can detect the other program running, it searches the system memory periodically.
Each program is stored on disk before running.
Each program has its own specific code on disk.
After it is loaded into memory and running by windows, this process memory has some specific code.
So, I need a software that can get the specific code on disk before running, and can scan the system memory and check the specific code in memory, and get this program HANDLE, and can terminate it.
How to do this thing.
Lyndon, Guo
|
|
|
|
|
why not writing it by yourself ?
TOXCCT >>> GEII power
|
|
|
|
|
I am writting by myself now. I can get all of the running process's HANDLE, and I can get all of each process's memory, but I don't know the relationship between specific code on disk and memory.
Can somebody give me some advice. Thank you.
|
|
|
|
|
I am studing the PE format. Hope somebody give some advice.
|
|
|
|
|
Lyndonguo wrote:
I am studing the PE format. Hope somebody give some advice.
About what? In other words, what specifically do you want to know about the PE format?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
When looking for executables (processes) within windows there are a few methods.
Take a look at this for starters
http://www.codeproject.com/threads/getprocessid.asp[^]
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fuity and sweet. I'm jelly, what am I? - David Williams (Little Britain)
|
|
|
|
|
In my project i am trying to take LOGIN and PASSWORD of the user,when the user enter the login and password and then press "ENTER" from the keyboard , then dialog box is getting termernated(i,e "EXIT" BUTTON),but i want to control on "SUBMIT" button when the ENTER is pressed..
|
|
|
|
|
check the button's default property on
It is Illogical to define an inventor by his invention
|
|
|
|
|
Read here for why this is happening.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Hi Guys,
I need to build a MFC application with a RichEdit control,including functionalities like
[1]editing the text.
[2]It should also serve as a drop destination
could anyone provide info: on how to do it step,by step.
Thanks......
|
|
|
|
|
use the ressource editor ans check the properties you want...
there is no more simple...
TOXCCT >>> GEII power
|
|
|
|
|
Where is the ressource editor located...
|
|
|
|
|
when you add graphically an edit box into your dialog, right click into the editbox, select the properties menu item at the bottom, and there you are...
TOXCCT >>> GEII power
|
|
|
|
|
|
How can i get full documentation for Telephony applications?
can you help me to make an application which can recieve a call, and data from caller?
How to play voice message at recieving the call?
|
|
|
|
|
Fouad_kayali wrote:
How can i get full documentation for Telephony applications?
MSDN and the Platform SDK are probably the best resources for TAPI documentation and examples.
Fouad_kayali wrote:
can you help me to make an application which can recieve a call,
This sample[^] here helped me when I first started programming with TAPI back in '98.
Michael
CP Blog [^]
|
|
|
|
|
-> this stood in the code:
bool bAllowUnvalidateTextResult = !!siteFlags.GetNbrValue(ALLOW_UNVALIDATE_TEXTRESULT);
Colleagues told me the "!!" was to make sure it was 0 or 1 false or true.
Is this so? Why not
static_cast<bool>(siteFlags.GetNbrValue(ALLOW_UNVALIDATE_TEXTRESULT)); ???
tnx.
"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimmy Hendrix
|
|
|
|
|
The !! has been around for a while, long before these new fangled
template thingies. Its also less typing!
Also consider:
bool bAllowUnvalidateTextResult = 1 && siteFlags.GetNbrValue(ALLOW_UNVALIDATE_TEXTRESULT);
bool bAllowUnvalidateTextResult = siteFlags.GetNbrValue(ALLOW_UNVALIDATE_TEXTRESULT) ? true : false;
I still use the ? : construction a lot.
A couple of years ago, I showed some of my code to a fellow (non-colleague) programmer, who said
"It's obvious you've been programming for a long time". He never told me if that was a compliment
or not!
|
|
|
|
|
but don't bool bAllowUnvalidateTextResult = siteFlags.GetNbrValue(ALLOW_UNVALIDATE_TEXTRESULT); work too ???
bAllowUnvalidateTextResult is a bool , so, it will accept true or false values ; true for any non-zero values, false otherwise...
of course, a static_cast<bool> would have been more explicit and more correct, i think my code work, but i don't wan't to test it
TOXCCT >>> GEII power
|
|
|
|
|
Yes it will work but IIRC it brings up a warning on compilation saying that their is a performance issue when forcing the value to bool.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fuity and sweet. I'm jelly, what am I? - David Williams (Little Britain)
|
|
|
|
|
I have seen this before, and if not commented such it can be misleading. Is there a mistake, i.e. did the programmer intend to use a single "!" ?
It is always better to explicitly state the intended conversion.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fuity and sweet. I'm jelly, what am I? - David Williams (Little Britain)
|
|
|
|
|
V. wrote:
Colleagues told me the "!!" was to make sure it was 0 or 1 false or true.
Is this so?
Yes, that's what it does. It's also very portable, whereas static_cast and bool are not.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
sorry but the static_cast keyword is part of the C++ language... portable so.
for the portability of bool , i agree. We should prefer BOOL instead...
TOXCCT >>> GEII power
|
|
|
|
|
toxcct wrote:
sorry but the static_cast keyword is part of the C++ language... portable so.
Maybe on the newer compilers, but not on the ones I started with. It's also not available in C. The point was that !! will work across the board whereas static_cast and bool will not.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
ok if you want to port code from C++ to C... but you'll probably encounter many other problems...
TOXCCT >>> GEII power
|
|
|
|