Click here to Skip to main content
15,913,669 members
Home / Discussions / C#
   

C#

 
AnswerRe: Char* in C++ 6 to C# .Net [modified] Pin
Luc Pattyn22-Mar-11 6:16
sitebuilderLuc Pattyn22-Mar-11 6:16 
GeneralRe: Char* in C++ 6 to C# .Net Pin
KeithF22-Mar-11 6:24
KeithF22-Mar-11 6:24 
AnswerRe: Char* in C++ 6 to C# .Net Pin
Luc Pattyn22-Mar-11 6:31
sitebuilderLuc Pattyn22-Mar-11 6:31 
GeneralRe: Char* in C++ 6 to C# .Net Pin
KeithF22-Mar-11 6:40
KeithF22-Mar-11 6:40 
Questionclickonce Deployment [modified] Pin
arkiboys22-Mar-11 3:40
arkiboys22-Mar-11 3:40 
AnswerRe: clickonce Deployment Pin
Dave Kreskowiak22-Mar-11 4:47
mveDave Kreskowiak22-Mar-11 4:47 
GeneralRe: clickonce Deployment Pin
arkiboys22-Mar-11 4:51
arkiboys22-Mar-11 4:51 
GeneralRe: clickonce Deployment Pin
Rajesh R Subramanian23-Mar-11 4:47
professionalRajesh R Subramanian23-Mar-11 4:47 
GeneralRe: clickonce Deployment Pin
Dave Kreskowiak23-Mar-11 12:12
mveDave Kreskowiak23-Mar-11 12:12 
GeneralRe: clickonce Deployment Pin
Rajesh R Subramanian23-Mar-11 18:38
professionalRajesh R Subramanian23-Mar-11 18:38 
Questionpass picture as parameter TO C# Pin
MrKBA22-Mar-11 2:46
MrKBA22-Mar-11 2:46 
AnswerRe: pass picture as parameter TO C# Pin
Pete O'Hanlon22-Mar-11 3:10
mvePete O'Hanlon22-Mar-11 3:10 
GeneralRe: pass picture as parameter TO C# Pin
MrKBA22-Mar-11 3:36
MrKBA22-Mar-11 3:36 
GeneralRe: pass picture as parameter TO C# Pin
BobJanova22-Mar-11 3:47
BobJanova22-Mar-11 3:47 
Passing things like images across COM is not trivial.

I think you have control of both halves of the application, and your question is just about adding icons to context menus? You should pass the information that the C# control needs to construct the image, and create the image in C#, instead of trying to pass it across the bridge. (For example, store the icons as resources in the C# assembly and pass the name of the image to use.)

Your question is still not very specific, but I suspect it is a case of 'I wouldn't have started from here' and you should be able to find a good solution to your problem which doesn't require you to send complex objects across COM.
GeneralRe: pass picture as parameter TO C# Pin
_Erik_22-Mar-11 3:51
_Erik_22-Mar-11 3:51 
GeneralRe: pass picture as parameter TO C# Pin
MrKBA22-Mar-11 4:07
MrKBA22-Mar-11 4:07 
GeneralRe: pass picture as parameter TO C# Pin
_Erik_22-Mar-11 5:09
_Erik_22-Mar-11 5:09 
AnswerRe: pass picture as parameter TO C# Pin
Dan Mos22-Mar-11 3:13
Dan Mos22-Mar-11 3:13 
GeneralRe: pass picture as parameter TO C# Pin
MrKBA22-Mar-11 3:36
MrKBA22-Mar-11 3:36 
QuestionRe: pass picture as parameter TO C# Pin
Paladin200022-Mar-11 4:42
Paladin200022-Mar-11 4:42 
AnswerRe: pass picture as parameter TO C# Pin
MrKBA22-Mar-11 5:14
MrKBA22-Mar-11 5:14 
AnswerRe: pass picture as parameter TO C# Pin
Xmen Real 22-Mar-11 5:43
professional Xmen Real 22-Mar-11 5:43 
GeneralRe: pass picture as parameter TO C# Pin
MrKBA22-Mar-11 6:46
MrKBA22-Mar-11 6:46 
QuestionNeed to Resolve the Error In Window Scheduler Pin
Swaranjeet Singh22-Mar-11 1:02
Swaranjeet Singh22-Mar-11 1:02 
AnswerRe: Need to Resolve the Error In Window Scheduler Pin
Richard MacCutchan22-Mar-11 1:15
mveRichard MacCutchan22-Mar-11 1:15 

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.