Click here to Skip to main content
15,888,579 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Stymied by interop Pin
led mike28-Apr-08 9:30
led mike28-Apr-08 9:30 
QuestionRe: Stymied by interop Pin
Mark Schumann1-May-08 8:56
Mark Schumann1-May-08 8:56 
GeneralMake a CAB file for PocketPc2003 Pin
AlexB4728-Apr-08 4:02
AlexB4728-Apr-08 4:02 
GeneralCross Post. Please ignore Pin
Pete O'Hanlon28-Apr-08 21:59
mvePete O'Hanlon28-Apr-08 21:59 
GeneralApplication.Run() Parameters Pin
saneng28-Apr-08 3:08
saneng28-Apr-08 3:08 
GeneralDouble Post Pin
Giorgi Dalakishvili28-Apr-08 3:50
mentorGiorgi Dalakishvili28-Apr-08 3:50 
QuestionHow to write this code using IFileOperation for Vista Pin
Mustanseer M S28-Apr-08 0:31
Mustanseer M S28-Apr-08 0:31 
AnswerRe: How to write this code using IFileOperation for Vista Pin
Mike Dimmick28-Apr-08 3:00
Mike Dimmick28-Apr-08 3:00 
SHFileOperation is deprecated, not removed. Deprecation simply means that they have added a new method which they advise is used in future, and that they might remove the old way in future operating systems. However, IFileOperation is not available before Windows Vista which means that if you need to support older operating systems, SHFileOperation is the best choice.

The double null-termination is because SHFileOperation can work on a queue of items, not just a single item. Each item is a normal null-delimited string, and the queue is represented by all the item strings concatenated together. The end of the list is marked by an empty string, i.e. a single null character. To remove a single item, therefore, you pass the string (null-terminated) followed by another null, so it appears to be double-null-terminated.

Example: you want to delete items Item 1 and Item 2. Therefore you specify the string
Item 1<NUL>Item 2<NUL><NUL>
I have to admit, I can't see how you get hold of an IFileOperation pointer. They seem to have forgotten to document that.


DoEvents: Generating unexpected recursion since 1991

GeneralRe: How to write this code using IFileOperation for Vista Pin
Mustanseer M S28-Apr-08 3:42
Mustanseer M S28-Apr-08 3:42 
Generalabout PDB files Pin
sujithkumarsl27-Apr-08 18:28
sujithkumarsl27-Apr-08 18:28 
GeneralRe: about PDB files Pin
BJ Basañes27-Apr-08 19:28
BJ Basañes27-Apr-08 19:28 
GeneralRe: about PDB files Pin
sujithkumarsl27-Apr-08 20:15
sujithkumarsl27-Apr-08 20:15 
GeneralRe: about PDB files Pin
BJ Basañes27-Apr-08 22:03
BJ Basañes27-Apr-08 22:03 
GeneralRe: about PDB files Pin
sujithkumarsl27-Apr-08 22:28
sujithkumarsl27-Apr-08 22:28 
GeneralRe: about PDB files Pin
Pete O'Hanlon27-Apr-08 23:33
mvePete O'Hanlon27-Apr-08 23:33 
GeneralRe: about PDB files Pin
sujithkumarsl28-Apr-08 0:24
sujithkumarsl28-Apr-08 0:24 
GeneralRe: about PDB files Pin
Roger Alsing28-Apr-08 6:42
Roger Alsing28-Apr-08 6:42 
GeneralRe: about PDB files Pin
Zoltan Balazs28-Apr-08 0:37
Zoltan Balazs28-Apr-08 0:37 
GeneralRe: about PDB files Pin
sujithkumarsl28-Apr-08 18:12
sujithkumarsl28-Apr-08 18:12 
GeneralRe: about PDB files Pin
Zoltan Balazs28-Apr-08 20:07
Zoltan Balazs28-Apr-08 20:07 
GeneralRe: about PDB files Pin
sujithkumarsl28-Apr-08 22:38
sujithkumarsl28-Apr-08 22:38 
GeneralRe: about PDB files Pin
PIEBALDconsult29-Apr-08 7:32
mvePIEBALDconsult29-Apr-08 7:32 
GeneralRe: about PDB files Pin
sujithkumarsl29-Apr-08 17:31
sujithkumarsl29-Apr-08 17:31 
Generali need some help about the licence,plz!!! Pin
skyline227-Apr-08 18:23
skyline227-Apr-08 18:23 
GeneralRe: i need some help about the licence,plz!!! Pin
Christian Graus27-Apr-08 19:51
protectorChristian Graus27-Apr-08 19:51 

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.