Click here to Skip to main content
16,016,460 members
Home / Discussions / COM
   

COM

 
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
Bill Wilson22-Oct-01 14:10
Bill Wilson22-Oct-01 14:10 
GeneralInconsistent registration Pin
Jamie Hale16-Oct-01 8:49
Jamie Hale16-Oct-01 8:49 
GeneralRe: Inconsistent registration Pin
Jamie Hale16-Oct-01 9:13
Jamie Hale16-Oct-01 9:13 
GeneralRe: Inconsistent registration Pin
Nemanja Trifunovic16-Oct-01 9:24
Nemanja Trifunovic16-Oct-01 9:24 
GeneralRe: Inconsistent registration Pin
Jamie Hale16-Oct-01 9:30
Jamie Hale16-Oct-01 9:30 
GeneralRe: Inconsistent registration Pin
Jamie Hale16-Oct-01 9:32
Jamie Hale16-Oct-01 9:32 
GeneralRe: Inconsistent registration Pin
Shadi Al-Kahwaji16-Oct-01 21:51
Shadi Al-Kahwaji16-Oct-01 21:51 
GeneralNamespace extension - cut-and-paste feedback Pin
reverendshoebox16-Oct-01 2:52
reverendshoebox16-Oct-01 2:52 
Hello...I already posted this in the "Visual C++" area, but I've gotten no response, so I'm trying it here, since it's technically a COM issue. Smile | :)

I'm working on a namespace extension for Windows NT that represents documents in a repository. It allows the user to copy or cut the documents and paste them to the file system. I'm basically doing the cut/copy by retrieving the files, copying them to /temp, and creating an IDataObject instance on the clipboard which returns a reference to the temporary files in CF_HDROP format.

BUT...in the case of a cut and paste, I need to get feedback that the paste was successful so I know whether or not to delete the document object from the repository. I get a "Paste Successful" via IDataObject::SetData(), but if the file already exists where I'm pasting it, I get a "File already exists - overwrite?" dialog box *AFTER* the "Paste Successful" has already been returned!

Is there a way to verify that the paste has actually occured?

Alternatively, is there a way I can add a handler of some sort to the shell that will allow me to paste documents to the file system that are in a custom clipboard format?

Any help would be greatly appreciated.

Thanks,
Tim


Reverend Shoebox
GeneralPowerpoint developer question...... Pin
Huu Quynh15-Oct-01 6:13
Huu Quynh15-Oct-01 6:13 
GeneralRe: Powerpoint developer question...... Pin
Carlos Antollini15-Oct-01 6:48
Carlos Antollini15-Oct-01 6:48 
GeneralDisplaying custom IE error pages Pin
Amit Dey13-Oct-01 6:16
Amit Dey13-Oct-01 6:16 
GeneralCLSID's Pin
#realJSOP13-Oct-01 4:41
professional#realJSOP13-Oct-01 4:41 
GeneralRe: CLSID's Pin
13-Oct-01 14:14
suss13-Oct-01 14:14 
GeneralRe: CLSID's Pin
#realJSOP13-Oct-01 14:35
professional#realJSOP13-Oct-01 14:35 
GeneralRe: CLSID's Pin
#realJSOP13-Oct-01 14:56
professional#realJSOP13-Oct-01 14:56 
GeneralRe: CLSID's Pin
#realJSOP13-Oct-01 15:42
professional#realJSOP13-Oct-01 15:42 
GeneralRe: CLSID's Pin
Not Active14-Oct-01 6:31
mentorNot Active14-Oct-01 6:31 
GeneralRe: CLSID's Pin
#realJSOP14-Oct-01 7:01
professional#realJSOP14-Oct-01 7:01 
GeneralRe: CLSID's Pin
Not Active14-Oct-01 9:10
mentorNot Active14-Oct-01 9:10 
GeneralRe: CLSID's Pin
#realJSOP14-Oct-01 10:29
professional#realJSOP14-Oct-01 10:29 
GeneralRe: CLSID's Pin
#realJSOP15-Oct-01 5:09
professional#realJSOP15-Oct-01 5:09 
GeneralRe: CLSID's Pin
Aaron Schaefer15-Oct-01 9:53
Aaron Schaefer15-Oct-01 9:53 
GeneralRe: CLSID's Pin
Tim Smith15-Oct-01 10:34
Tim Smith15-Oct-01 10:34 
GeneralRe: CLSID's Pin
#realJSOP16-Oct-01 2:58
professional#realJSOP16-Oct-01 2:58 
GeneralNetmeeting 3 -- help! Pin
aniel12-Oct-01 13:17
aniel12-Oct-01 13:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.