Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
GeneralRe: sending xml bitween client, server win app Pin
Heath Stewart27-Apr-04 3:00
protectorHeath Stewart27-Apr-04 3:00 
Question[urgent, please help] Is it possible to use a Windows Form as a control? Pin
gUrM33T24-Apr-04 18:49
gUrM33T24-Apr-04 18:49 
AnswerRe: [urgent, please help] Is it possible to use a Windows Form as a control? Pin
DougW4824-Apr-04 21:59
DougW4824-Apr-04 21:59 
GeneralRe: [urgent, please help] Is it possible to use a Windows Form as a control? Pin
gUrM33T24-Apr-04 22:53
gUrM33T24-Apr-04 22:53 
GeneralRe: [urgent, please help] Is it possible to use a Windows Form as a control? Pin
CWIZO24-Apr-04 23:50
CWIZO24-Apr-04 23:50 
GeneralRe: [urgent, please help] Is it possible to use a Windows Form as a control? Pin
DougW4825-Apr-04 12:58
DougW4825-Apr-04 12:58 
GeneralRe: [urgent, please help] Is it possible to use a Windows Form as a control? Pin
gUrM33T25-Apr-04 16:05
gUrM33T25-Apr-04 16:05 
GeneralC++ -> C# need help with: ** (pointer to a pointer?) Pin
User 96257824-Apr-04 15:49
User 96257824-Apr-04 15:49 
I need help converting this code to C#, its taken from an Media Center SDK Doc.

HRESULT CreateSession([out,retval] IMediaStatusSession** MediaStatusSession);

Another question, since typedef doesnt exist in C# i converted the following code:

typedef SAFEARRAY(MEDIASTATUSPROPERTYTAG) MEDIASTATUSTAGARRAY;
typedef SAFEARRAY(VARIANT) MEDIASTATUSPROPARRAY;

HRESULT MediaStatusChange(
[in] MEDIASTATUSTAGARRAY Tags,
[in] MEDIASTATUSPROPARRAY Properties
);

to just:

void MediaStatusChange( [In, MarshalAs(UnmanagedType.SafeArray)] MEDIASTATUSPROPERTYTAG [] tags,
[In, MarshalAs(UnmanagedType.SafeArray)] MEDIASTATUSPROPERTY [] prop);

is this ok, or is there a way of converting the typedef?









modified 16-May-21 21:01pm.

Generalsome more info about the fist post Pin
User 96257824-Apr-04 16:07
User 96257824-Apr-04 16:07 
GeneralRe: some more info about the fist post Pin
Heath Stewart25-Apr-04 4:34
protectorHeath Stewart25-Apr-04 4:34 
GeneralRe: C++ -> C# need help with: ** (pointer to a pointer?) Pin
Heath Stewart25-Apr-04 4:31
protectorHeath Stewart25-Apr-04 4:31 
GeneralArrayList Indexing: Help Pin
24-Apr-04 13:59
suss24-Apr-04 13:59 
GeneralRe: ArrayList Indexing: Help Pin
Colin Angus Mackay24-Apr-04 14:22
Colin Angus Mackay24-Apr-04 14:22 
GeneralRe: ArrayList Indexing: Help Pin
24-Apr-04 16:35
suss24-Apr-04 16:35 
GeneralRe: ArrayList Indexing: Help Pin
Colin Angus Mackay24-Apr-04 14:25
Colin Angus Mackay24-Apr-04 14:25 
GeneralRe: ArrayList Indexing: Help Pin
Jon G24-Apr-04 14:36
Jon G24-Apr-04 14:36 
GeneralRe: ArrayList Indexing: Help Pin
Member 95766524-Apr-04 16:31
Member 95766524-Apr-04 16:31 
GeneralRe: ArrayList Indexing: Help Pin
Member 95766524-Apr-04 17:42
Member 95766524-Apr-04 17:42 
GeneralRe: ArrayList Indexing: Help Pin
Colin Angus Mackay25-Apr-04 1:22
Colin Angus Mackay25-Apr-04 1:22 
GeneralRe: ArrayList Indexing: Help Pin
Jeff Varszegi25-Apr-04 7:05
professionalJeff Varszegi25-Apr-04 7:05 
GeneralAdding a CheckBox column in DataGrid Pin
Jon G24-Apr-04 13:41
Jon G24-Apr-04 13:41 
GeneralRe: Adding a CheckBox column in DataGrid Pin
Heath Stewart25-Apr-04 4:26
protectorHeath Stewart25-Apr-04 4:26 
GeneralRe: Adding a CheckBox column in DataGrid Pin
Jon G25-Apr-04 6:58
Jon G25-Apr-04 6:58 
GeneralRe: Adding a CheckBox column in DataGrid Pin
Heath Stewart25-Apr-04 7:33
protectorHeath Stewart25-Apr-04 7:33 
GeneralRe: Adding a CheckBox column in DataGrid Pin
Appelz26-Apr-04 20:31
Appelz26-Apr-04 20:31 

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.