|
Hey,
Thanks for your help!
SetClipboardViewer is not a good solution because it simply tells you what is in the clipboard, and when it changes (copy/cut), but it doesn't tell you when an application pastes from the clipboard.
Besides that, WM_PASTE is not being used much nowadays (from what I checked a little bit), and it is not a complete solution, and it also requires a system-wide hook.
I was hoping to find something list "FindFirstPrinterChangeNotification()", but for paste, or some service that I can register to in order to receive notifications.
Thanks again!!!
|
|
|
|
|
Green Fuze wrote:
Is there a way to get a clipboard paste event without system-wide hook???
Are you wanting to know when the user pastes into any application? Have you seen the discussion here?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Thanks a lot for your help!!!
DavidCrow wrote: Are you wanting to know when the user pastes into any application?
Yup!
DavidCrow wrote: Have you seen the discussion here?
I read this post, and it talks about system-wide hook.
I know how to do it using system-wide hook, and replacing the GetClipboardData() function to get notification, but it looks a bit of an overkill (unless there is no choice...!).
I was hoping to find something like FindFirstPrinterChangeNotification(), or a service I can register to get notifications...
Thanks again!!!
|
|
|
|
|
Hello Green, were You able to detect paste events, would You please post your code?
|
|
|
|
|
Hello All
is there any API to show how strong is password for respective user .in vc++
|
|
|
|
|
Do you mean the strength of the password they have just entered, or the strength of password required by their account settings?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Many varieties exist. One example is here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hello All .
Can you please tell me how to di firewall rule in xp.
|
|
|
|
|
Look here[^]
[edit] Sorry - didn't notice your constraint that it should be under XP, not Vista. [/edit]
[edit2]There is the Windows Firewall API[^], though - that's accessible in XP SP2 and above... That let's you list the authorized applications and open ports, which are the closest you get to rules with the XP firewall.[/edit2]
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
hello frnd i write this under XP, not Vista. because inetfwpolicy2.rule you can get fw rules but it is only for vista
|
|
|
|
|
Read the edited message[^] - I give you a link to a Firewall API that is claimed to work in XP...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Thanks for your reply ,
But I am unable to find proper way ,like IFwPolicy2 is support only in vista .
|
|
|
|
|
Hello, I'd like to invite developers to new open source project - caching proxy server.
We'll use C++, STL, Boost.
It's very interesting and hard project.
If you're interested, please, send me e-mail with short description about your skills or CV to denrrr@gmail.com
Any comments are welcome
Thank you,
Denis
|
|
|
|
|
denrrr wrote: send me e-mail with short description about your skills
My skill is recognizing this is not the right forum to post your open-source project advertising.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Would you like to take part?
|
|
|
|
|
I see we're expressing ourselves with different languages...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Yes, you're right. I understand your message, but anyway, I mean, maybe you're interesting
|
|
|
|
|
denrrr wrote: I mean, maybe you're interesting
Well I know I'm interesting: are you a blonde princess?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: I know I'm interesting
What, you're a blonde princess?!?!?!??!
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Stuart Dootson wrote: What, you're a blonde princess?
Yes, a bit hairy, though.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi all,
I am facing a very basic problem and i am not getting why its occuring... Please help me for this...
i have simply made a char array.
unsigned char array[1024];
i am assigning a value in it and then i am passing this array in a function like this..
func(array);
void func(unsigned char array[1024])
{
}
but when i debug my program my passed array is showing first value.
i tried using pointer also, but the result is same
func(array);
void func(unsigned char *array)
{
}
can anybody plz help me this....
|
|
|
|
|
VCProgrammer wrote:
but when i debug my program my passed array is showing first value.
Do you mean the debugger shows you only the first value?
Or, for instance, array[1] has a wrong value?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
it only shows one value....
rest data is missing... it seems like variable has got one value only....
|
|
|
|
|
VCProgrammer wrote: rest data is missing...
How can you see that?
Could you post please the relevant code?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
VCProgrammer wrote: but when i debug my program my passed array is showing first value.
That's because in C and C++, arrays ARE pointers. That means that (for example) the 10th element of an array called arr is accerssible using arr[9] or *(arr + 9) .
Your function is passed a pointer to the first element - that is what an array is! Don't worry, though - all the elements of the array are accessible from your function. Just not from the debugger
However, if you go to the Immediate Window in the debugger, you can enter something like:
? array[10]
and see the 11th element of the array.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|