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

.NET (Core and Framework)

 
GeneralRe: Catching exception when starting exe from network drive Pin
0siris11-Sep-03 4:45
0siris11-Sep-03 4:45 
GeneralRe: Catching exception when starting exe from network drive Pin
Michael D Bray18-Sep-03 4:28
Michael D Bray18-Sep-03 4:28 
GeneralComplex data binding and ListView column sorting problem Pin
zinzinlabine7-Sep-03 6:18
zinzinlabine7-Sep-03 6:18 
GeneralReflection question Pin
Gluber20026-Sep-03 15:54
Gluber20026-Sep-03 15:54 
GeneralRe: Reflection question Pin
leppie7-Sep-03 4:08
leppie7-Sep-03 4:08 
GeneralSuspendLayout() doen't work on richTextBox Pin
eranas3-Sep-03 21:07
eranas3-Sep-03 21:07 
GeneralRe: SuspendLayout() doen't work on richTextBox Pin
leppie7-Sep-03 4:14
leppie7-Sep-03 4:14 
GeneralExposing properties (COM interop) Pin
Elbie2-Sep-03 5:31
Elbie2-Sep-03 5:31 
In order to create an idl/typelib/dll compatible with my existing COM container, I need to expose my C# properties as idl properties rather than idl methods, i.e.

properties:
[id(0x00000001)]
BSTR MyProperty;

rather than:

methods:
[id(0x00000001), propput]
BSTR MyProperty();
[id(0x00000002), propput]
void MyProperty([in] BSTR rhs);

The COM interop help suggests exposing interfaces to COM rather than the class/object itself (which suits me fine) except that interfaces cannot have fields in C# and C# properties are exposed as methods Frown | :(

Can anyone tell me how to expose 'properties' in their idl sense?

TIA

Elbie

"I would try everything once except incest and line dancing", Oscar Wilde
GeneralOverriding Paint message in TextEditBase or RichEditBox Pin
NormDroid2-Sep-03 4:46
professionalNormDroid2-Sep-03 4:46 
GeneralIPicture to System.Drawing.Image Pin
Corinna John2-Sep-03 3:37
Corinna John2-Sep-03 3:37 
GeneralTimezones and Date formatting Pin
AJB...1-Sep-03 10:05
AJB...1-Sep-03 10:05 
GeneralRe: Custom Collection based on ... Pin
dog_spawn4-Sep-03 16:58
dog_spawn4-Sep-03 16:58 
General.net DataSet Relations Lost.... Pin
mgaerber27-Aug-03 4:44
mgaerber27-Aug-03 4:44 
Generallost? Pin
dog_spawn4-Sep-03 17:02
dog_spawn4-Sep-03 17:02 
GeneralRe: lost? Pin
mgaerber9-Sep-03 20:12
mgaerber9-Sep-03 20:12 
GeneralVARIANT* in COM Interop Pin
Elbie27-Aug-03 0:48
Elbie27-Aug-03 0:48 
GeneralRe: VARIANT* in COM Interop Pin
Elbie27-Aug-03 5:08
Elbie27-Aug-03 5:08 
GeneralRe: VARIANT* in COM Interop Pin
igor19603-Sep-03 10:28
igor19603-Sep-03 10:28 
General.NET component in MFC applicaiton Pin
Member 45183026-Aug-03 20:23
Member 45183026-Aug-03 20:23 
GeneralRe: .NET component in MFC applicaiton Pin
J. Dunlap26-Aug-03 21:23
J. Dunlap26-Aug-03 21:23 
GeneralRe: .NET component in MFC applicaiton Pin
Member 45183026-Aug-03 21:47
Member 45183026-Aug-03 21:47 
GeneralRe: .NET component in MFC applicaiton Pin
J. Dunlap26-Aug-03 21:54
J. Dunlap26-Aug-03 21:54 
GeneralRe: .NET component in MFC applicaiton Pin
Jerry Dennany3-Sep-03 14:45
Jerry Dennany3-Sep-03 14:45 
GeneralNumericUpDown Problem Pin
Gomac26-Aug-03 13:55
Gomac26-Aug-03 13:55 
GeneralRe: NumericUpDown Problem Pin
Gomac28-Aug-03 3:12
Gomac28-Aug-03 3:12 

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.