Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

who can give me a copy hook?

Posted on 2000-03-31
6
Medium Priority
?
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

704 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