|
HI Prakash!
In one of the message U told that U have an application which runs in Background. I also need some program[Win32] to run in Background and monitors system activity. In exact word I should be able to know, when say user has started some exe (ex.Yahoo messenger executable). Right now I am using application which uses EnumProcess API to obtain the handle of all running process.
It should work for Win98 as well as for WinNT. Hence I think writing service is not a good idea.Any Suggestion.
And my god U are turning out to be answering machine. Whole page is filled with U. Great going chap.
Cheers!!
|
|
|
|
|
Yeah, i didnt make any service, all i made was a normal win32 application, created the window and hide the windows using ShowWindow(hwnd,SW_HIDE);
Thats it, the window monitors all the system messages, i dont know wheather you will get an event for file execution.
The hiden exefile works fine, except that it needs to started from the startup menu or by some other methods i.e entry in the registry (i dont know rite now)
Hope you got the ans.
bye.
P.R.A.K.A.S.H
|
|
|
|
|
hello friends
i am working with local speech engine project.
for this i want chopping and fading algorithms to
apply.If any one knows pls help me.
thanks in advance
|
|
|
|
|
Hello,
i have simple question, think of a common prototype like
int FuncName(int var);
now, what does it mean if i put a conclusive "=0" on it, like
int FuncName(int var) = 0;
Thanks in advance!
|
|
|
|
|
it gave me this error
error C2072: 'FuncName' : initialization of a function
this is declaration of a pure function of a class. that means that the implementation of the method is not in this class and must be implemented in the derived class.
I have lost more blood shaving than on the battlefield - Adolf Hitler
|
|
|
|
|
Thanks, but ..
let's think that it is already implemented in a derived class, i only want to know what i does!!
|
|
|
|
|
Its a way to declare that the base class will not implement the function the derived class have to do it before they make object of the class.
plus pure virtual functions in the base class means you cant make an object of the baseclass.
There are lot of other concepts behind pure virtual functions, read some good book on it to be more clear.
pure virtual functions are the foundations of COM
I have lost more blood shaving than on the battlefield - Adolf Hitler
|
|
|
|
|
Thank you for your help!
But, please delete your citation of Adolf Hitler, there's nothing good associated with Adolf Hitler! It my be funny if you tell the citation once, but it is absolutely wrong to use it as a footnote!
|
|
|
|
|
I agree he was worst living being ever walked on the earth, but you should agree with me that he was the Best leader ever walked on the earth to motivate his people,
Dont worry i will remove it soon I keep changing my sig every now n then.
I have lost more blood shaving than on the battlefield - Adolf Hitler
|
|
|
|
|
Mr.Prakash wrote:
...you should agree with me that he was the Best leader ever walked on the earth to motivate his people,
If you consider fear to be a motivator. A better leader uses love and compassion, never force. Hands down, the title of best-leader-ever-walked-on-the-earth-to-motivate-his-people goes to Christ Jesus.
|
|
|
|
|
DavidCrow wrote:
Hands down, the title of best-leader-ever-walked-on-the-earth-to-motivate-his-people goes to Christ Jesus.
correct.
Some ppl will say he never existed that depends on beliver and non beliver.
ok about Hitler
He alone cannot spread fear, He had loyal ppl to do that, and he motivated ppl to be loyal to him. Its well know that he could move ppl emotionally with his speech.
Fear was for nor german ppl.
P.R.A.K.A.S.H
|
|
|
|
|
Mr.Prakash wrote:
Its a way to declare that the base class will not implement the function the derived class have to do it before they make object of the class.
Though the base class can still provide an implementation that derived classes can use.
Mr.Prakash wrote:
pure virtual functions in the base class means you cant make an object of the baseclass.
Correct.
Kevin
|
|
|
|
|
Kevin McFarlane wrote:
Though the base class can still provide an implementation that derived classes can use.
are you sure about pure virtual functions ?
I have lost more blood shaving than on the battlefield - Adolf Hitler
|
|
|
|
|
Mr.Prakash wrote:
are you sure about pure virtual functions ?
Yes. There's an example somewhere in Scott Meyers's Effective C++.
I don't think a similar thing is possible in Java or C# though.
Kevin
|
|
|
|
|
In what units MsFlexGrid is measured self?
If I ask MsFlexGrid, for CellHeight it return some
not pixel size, about 12-15 times more than pixels.
What is this units and how to convert it pixels?
thanks you
|
|
|
|
|
I'm pretty sure it uses twips.
20 twips = 1 point, 72 points = 1 inch
1440 twips = 1 inch
To convert to pixels, you need to know how many pixels to the inch, after which it's just plugging numbers into a formula
Hint: GetDeviceCaps(hDC, LOGPIXELSX) returns number of pixels per inch width-ways, and most monitors have 'square' pixels.
Steve S
|
|
|
|
|
|
No.
A pixel is a variable sized thing, depending on the resolution of the output device, whereas a point is (or at least, should be) a fixed size, namely 1/72 of an inch.
Hence in 12 point Arial text, the character cell is 1/6 (= 12/72) of an inch in height. (I did a printing course when I was at college - which involved cases of cold metal characters, so I also learned why line spacing is called 'leading', and why you sometimes space characters or words horizontally by distances called either em or en.
Steve S
|
|
|
|
|
How to implement method for the conversion of color's lightness without conversion to HSL and back to RGB?
Best regards,
Eugene Pustovoyt
|
|
|
|
|
I want to test my application under disk full conditions. Is there a good utility that can use up my available disk space?
Todd Smith
|
|
|
|
|
|
|
Windows OS
I have lost more blood shaving than on the battlefield - Adolf Hitler
|
|
|
|
|
How about SetFilePointer() followed by SetEndOfFile() ?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Trying to get 4723 bytes of an oracle clob using ADO in vc++, when getting the recordset i am getting 4723 bytes but am getting 996 null chars after every good 996 chars.
Problem is occuring on a windows client against an oracle for linux server
Anyone have any clue why the data is getting corrupted via ado
If i use ole/db to get the data everything is fine. However this particular customer requires using ado recordsets
Any help is greatly appreciated
|
|
|
|