Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

who can give me a copy hook?

Posted on 2000-03-31
6
Medium Priority
?
198 Views
Last Modified: 2008-02-01
I am writing a VC program about security.A copy hook will do me a great help.Besides, where can I find the source code of a encryptor using PGP or DES?
Thank you so much for your help.
 
0
Comment
Question by:seuwind
  • 3
  • 3
6 Comments
 
LVL 9

Expert Comment

by:ShaunWilde
ID: 2676005
can you explain copy hook - are yu trying to attach to the windows clipboard? if so have alook at SetClipboardViewer and related API in the SDK.

also for crypto libraries have a look at
crypto++ written by Wei Dai at http://www.eskimo.net/~weidai/index.html that has so many crypto systems in it you'll be spoilt for choice.


0
 

Author Comment

by:seuwind
ID: 2677013
Thanks, ShaunWilde
I want to monitor the copy action of windows. If copy a file into(and out) the given directory, then the hook will notice it and let me do something. Can it be implemented?
I have found the crypto libraries at the URL you give me. It is very useful,thank you.
0
 
LVL 9

Expert Comment

by:ShaunWilde
ID: 2679289
ah  if you wish to monitor a directory then you may wish to use the FindFirstChangeNotification and releated API or use the ICopyHook interface. Is it help on these that you require help on?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:seuwind
ID: 2682591
The function is what I need. But can you tell me where can I find some examples? Thanks
0
 

Author Comment

by:seuwind
ID: 2682595
The function is what I need. But can you tell me where can I find some examples? Thanks
0
 
LVL 9

Accepted Solution

by:
ShaunWilde earned 150 total points
ID: 2682946
for FindFirstChangeNotification

see

http://msdn.microsoft.com/library/psdk/winbase/filesio_1545.htm

the code given should be probably placed in its own thread (i.e. away from any GUI thread) and then post in its findings.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses
Course of the Month12 days, 1 hour left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question