Click here to Skip to main content
15,908,931 members
Home / Discussions / C#
   

C#

 
GeneralRe: IContextMenu Shell Extension - HandleMenuMsg Pin
Wraith29-Feb-05 4:50
Wraith29-Feb-05 4:50 
Personally i define crashing as an error condition, and one of the bigger ones as well. I realize that HandleMenuMsg should be called but it should also not cause the hosting application to crash. If you look at the definitions of ContextMenu, 2 and 3 in ShlObj.h the methods are specified in a specific and exact order. When the runtime interop does its work it doesn't have a lookup table of method names, it puts the methods in the order they are in the class/interface. If you've got them in the wrong order they wrong method could be called.

Put them in the right order and then go back and read through what is required for IContextMenu2 to run, perhaps a precondition isn't being met, perhaps a marshalling error is occuring before your function body is reached. Perhaps it is wrong in some way, but at least you'll know that the right method is being called with the right parameters at the right time if it ever is called.
GeneralVideo in mpeg Pin
ongo8-Feb-05 19:28
ongo8-Feb-05 19:28 
GeneralRe: Video in mpeg Pin
Heath Stewart9-Feb-05 14:53
protectorHeath Stewart9-Feb-05 14:53 
Generalmultithreading Pin
Titli8-Feb-05 18:59
Titli8-Feb-05 18:59 
GeneralRe: multithreading Pin
Dave Kreskowiak9-Feb-05 6:25
mveDave Kreskowiak9-Feb-05 6:25 
QuestionHow to get Paragraph leading? Pin
sachinkalse8-Feb-05 18:23
sachinkalse8-Feb-05 18:23 
AnswerRe: How to get Paragraph leading? Pin
sachinkalse9-Feb-05 13:29
sachinkalse9-Feb-05 13:29 
GeneralI'm having trouble adding records to Access Pin
Bill Prada8-Feb-05 17:09
Bill Prada8-Feb-05 17:09 
GeneralRe: I'm having trouble adding records to Access Pin
Luis Alonso Ramos8-Feb-05 19:00
Luis Alonso Ramos8-Feb-05 19:00 
GeneralRe: I'm having trouble adding records to Access Pin
bprada9-Feb-05 4:22
bprada9-Feb-05 4:22 
GeneralRe: I'm having trouble adding records to Access Pin
Luis Alonso Ramos9-Feb-05 5:10
Luis Alonso Ramos9-Feb-05 5:10 
GeneralRe: I'm having trouble adding records to Access Pin
Luis Alonso Ramos9-Feb-05 5:21
Luis Alonso Ramos9-Feb-05 5:21 
Generali got stuckup with my first C# program Pin
nagarajuepuri8-Feb-05 15:39
nagarajuepuri8-Feb-05 15:39 
GeneralRe: i got stuckup with my first C# program Pin
Daniel Turini8-Feb-05 15:58
Daniel Turini8-Feb-05 15:58 
GeneralRe: i got stuckup with my first C# program Pin
nagarajuepuri8-Feb-05 16:09
nagarajuepuri8-Feb-05 16:09 
GeneralRe: i got stuckup with my first C# program Pin
S. Senthil Kumar8-Feb-05 18:13
S. Senthil Kumar8-Feb-05 18:13 
GeneralRe: i got stuckup with my first C# program Pin
Mr.Cooper9-Feb-05 1:18
Mr.Cooper9-Feb-05 1:18 
GeneralRe: i got stuckup with my first C# program Pin
nagarajuepuri9-Feb-05 6:09
nagarajuepuri9-Feb-05 6:09 
GeneralRe: i got stuckup with my first C# program Pin
Dave Kreskowiak9-Feb-05 6:22
mveDave Kreskowiak9-Feb-05 6:22 
GeneralDon't display form icon Pin
.gonad8-Feb-05 15:32
.gonad8-Feb-05 15:32 
GeneralRe: Don't display form icon Pin
Mr.Cooper9-Feb-05 1:20
Mr.Cooper9-Feb-05 1:20 
GeneralRe: Don't display form icon Pin
.gonad10-Feb-05 14:35
.gonad10-Feb-05 14:35 
GeneralCard Selection Screen Pin
Bob Bonser8-Feb-05 15:29
Bob Bonser8-Feb-05 15:29 
QuestionHow do I find out if a file is signed or not? Pin
ethanwa8-Feb-05 14:54
ethanwa8-Feb-05 14:54 
Questionfast way to find the index of the first letter in a richTextBox? Pin
ektoras8-Feb-05 13:53
ektoras8-Feb-05 13:53 

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.