Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
QuestionImage processing Pin
Member 333222822-Jan-10 18:53
Member 333222822-Jan-10 18:53 
AnswerRe: Image processing Pin
OriginalGriff22-Jan-10 21:43
mveOriginalGriff22-Jan-10 21:43 
GeneralRe: Image processing Pin
Member 333222822-Jan-10 21:56
Member 333222822-Jan-10 21:56 
GeneralRe: Image processing Pin
OriginalGriff22-Jan-10 22:21
mveOriginalGriff22-Jan-10 22:21 
GeneralRe: Image processing Pin
Member 333222822-Jan-10 22:53
Member 333222822-Jan-10 22:53 
GeneralRe: Image processing Pin
OriginalGriff23-Jan-10 0:46
mveOriginalGriff23-Jan-10 0:46 
GeneralRe: Image processing Pin
molesworth23-Jan-10 5:17
molesworth23-Jan-10 5:17 
Questionmarshalling linked list Pin
anishkannan22-Jan-10 17:59
anishkannan22-Jan-10 17:59 
Hi

I am trying to call VLC libvlc function. In there, one function returned linked list structure . How can get this structure in C#.

This is C++ code of libVlc.dll
typedef struct libvlc_audio_output_t
 {
     char *psz_name;
     char *psz_description;
     struct libvlc_audio_output_t *p_next;
     
 } libvlc_audio_output_t;


I am trying like these..

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
           private struct LocaleInfo
           {
               [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)]
               public string countryName;
               [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1024)]
               public string localeName;
               public IntPtr next;
           };


when i was call these function fron c# . i get "Method's type signature is not PInvoke compatible." Exception ....

How can handle these . please share if you have any idea

Thanks
AnswerRe: marshalling linked list Pin
dybs22-Jan-10 19:59
dybs22-Jan-10 19:59 
AnswerRe: marshalling linked list Pin
DaveyM6922-Jan-10 23:16
professionalDaveyM6922-Jan-10 23:16 
QuestionPopulating a Treeview from a dataset in c# Pin
tonyonlinux22-Jan-10 16:30
tonyonlinux22-Jan-10 16:30 
AnswerRe: Populating a Treeview from a dataset in c# Pin
Anurag Gandhi22-Jan-10 17:23
professionalAnurag Gandhi22-Jan-10 17:23 
GeneralRe: Populating a Treeview from a dataset in c# Pin
tonyonlinux22-Jan-10 18:00
tonyonlinux22-Jan-10 18:00 
GeneralRe: Populating a Treeview from a dataset in c# Pin
Anurag Gandhi23-Jan-10 7:43
professionalAnurag Gandhi23-Jan-10 7:43 
QuestionRe: Populating a Treeview from a dataset in c# Pin
tonyonlinux23-Jan-10 10:07
tonyonlinux23-Jan-10 10:07 
QuestionCreating ASP.NET server control with design-time capabilities Pin
[DK]KiloDunse22-Jan-10 11:04
[DK]KiloDunse22-Jan-10 11:04 
AnswerRe: Creating ASP.NET server control with design-time capabilities Pin
Not Active22-Jan-10 11:11
mentorNot Active22-Jan-10 11:11 
GeneralRe: Creating ASP.NET server control with design-time capabilities Pin
[DK]KiloDunse22-Jan-10 11:16
[DK]KiloDunse22-Jan-10 11:16 
GeneralRe: Creating ASP.NET server control with design-time capabilities Pin
Not Active22-Jan-10 11:28
mentorNot Active22-Jan-10 11:28 
AnswerRe: Creating ASP.NET server control with design-time capabilities Pin
[DK]KiloDunse22-Jan-10 15:54
[DK]KiloDunse22-Jan-10 15:54 
QuestionINotifyPropertyChanged, attributes and notification cascade Pin
N4sh22-Jan-10 9:15
N4sh22-Jan-10 9:15 
Questionhow to split input integer variable Pin
arungracy22-Jan-10 9:15
arungracy22-Jan-10 9:15 
AnswerRe: how to split input integer variable Pin
loyal ginger22-Jan-10 9:22
loyal ginger22-Jan-10 9:22 
GeneralRe: how to split input integer variable Pin
Som Shekhar22-Jan-10 9:39
Som Shekhar22-Jan-10 9:39 
AnswerRe: how to split input integer variable Pin
#realJSOP22-Jan-10 10:23
professional#realJSOP22-Jan-10 10:23 

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.