Click here to Skip to main content
15,881,898 members
Home / Discussions / C#
   

C#

 
QuestionTargeting a Framework version? Pin
bosfan1-Sep-05 21:21
bosfan1-Sep-05 21:21 
AnswerRe: Targeting a Framework version? Pin
Mohamad Al Husseiny2-Sep-05 3:16
Mohamad Al Husseiny2-Sep-05 3:16 
GeneralRe: Targeting a Framework version? Pin
bosfan2-Sep-05 3:25
bosfan2-Sep-05 3:25 
GeneralRe: Targeting a Framework version? Pin
Mohamad Al Husseiny2-Sep-05 4:54
Mohamad Al Husseiny2-Sep-05 4:54 
GeneralRe: Targeting a Framework version? Pin
bosfan2-Sep-05 5:23
bosfan2-Sep-05 5:23 
GeneralRe: Targeting a Framework version? Pin
bosfan2-Sep-05 10:23
bosfan2-Sep-05 10:23 
GeneralRe: Targeting a Framework version? Pin
bosfan5-Sep-05 0:28
bosfan5-Sep-05 0:28 
QuestionCOM Interop: 'void **' argument Pin
J. Dunlap1-Sep-05 21:17
J. Dunlap1-Sep-05 21:17 
I'm importing a COM interface definition into C#, and I came across a method that has a parameter:
[out, iid_is(riid)] void **ppvInterface

This parameter is used to pass a COM interface reference out to the caller, which in this case will be managed code. The use of void**, is, I believe, due to the fact that the interface reference passed to the caller may be either IDispatch or IUnknown.

I know how to deal with cases where the base interface (between the two) that the interface is derived from is known - make the argument be of type object, and then add a MarshalAs attribute, specifying either UnmanagedType.IUnknown or UnmanagedType.IDispatch. But what should be done when the interface could be derived from either one?

TIA!
QuestionHow to set the focus of two forms Pin
dreamwinter1-Sep-05 20:46
dreamwinter1-Sep-05 20:46 
AnswerRe: How to set the focus of two forms Pin
Stanciu Vlad1-Sep-05 21:15
Stanciu Vlad1-Sep-05 21:15 
QuestionHow to get PageItems in InDesign from C# code Pin
ha.dungle1-Sep-05 20:03
ha.dungle1-Sep-05 20:03 
QuestionCan I use Visual C++ *.lib into C#? Pin
uumeme1-Sep-05 18:56
uumeme1-Sep-05 18:56 
AnswerRe: Can I use Visual C++ *.lib into C#? Pin
ediazc1-Sep-05 20:18
ediazc1-Sep-05 20:18 
AnswerRe: Can I use Visual C++ *.lib into C#? Pin
S. Senthil Kumar1-Sep-05 23:37
S. Senthil Kumar1-Sep-05 23:37 
AnswerRe: Can I use Visual C++ *.lib into C#? Pin
Mohamad Al Husseiny2-Sep-05 3:03
Mohamad Al Husseiny2-Sep-05 3:03 
QuestionUrgent!!!!! Drawing Rectanlges on RichTextBox Pin
AB77711-Sep-05 18:50
AB77711-Sep-05 18:50 
AnswerRe: Urgent!!!!! Drawing Rectanlges on RichTextBox Pin
Christian Graus1-Sep-05 18:56
protectorChristian Graus1-Sep-05 18:56 
GeneralRe: Urgent!!!!! Drawing Rectanlges on RichTextBox Pin
AB77711-Sep-05 22:00
AB77711-Sep-05 22:00 
GeneralRe: Urgent!!!!! Drawing Rectanlges on RichTextBox Pin
Christian Graus2-Sep-05 12:08
protectorChristian Graus2-Sep-05 12:08 
GeneralRe: Urgent!!!!! Drawing Rectanlges on RichTextBox Pin
AB77712-Sep-05 22:13
AB77712-Sep-05 22:13 
NewsRe: Urgent!!!!! Drawing Rectanlges on RichTextBox Pin
Mohamad Al Husseiny2-Sep-05 13:59
Mohamad Al Husseiny2-Sep-05 13:59 
AnswerRe: Urgent!!!!! Drawing Rectanlges on RichTextBox Pin
Mohamad Al Husseiny2-Sep-05 13:35
Mohamad Al Husseiny2-Sep-05 13:35 
QuestionHow 2 Change Screen Resolution Of Multi Monitors! Pin
majidbhutta1-Sep-05 17:20
majidbhutta1-Sep-05 17:20 
AnswerRe: How 2 Change Screen Resolution Of Multi Monitors! Pin
Dario Solera1-Sep-05 21:44
Dario Solera1-Sep-05 21:44 
QuestionHow to open an Excel File using C# Application. Pin
pubududilena1-Sep-05 16:48
pubududilena1-Sep-05 16:48 

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.