how to call this C function in C#

ilikejunk1230_at_hotmail.com
Date: 05/05/04


Date: 5 May 2004 16:35:16 -0700

Hi,

I'm trying to call a C function whose header file looks like this:

int func(AB *foo, CD callback_function, EF *callback_client);

and the only declarations are

typedef struct AB AB;
typedef struct EF EF;
typedef int (*CD)(EF *client, int bar);

how would I import that into C#?

Thanks in advance



Relevant Pages

  • Re: firefox-1.0.6_5,1 upgrade fails
    ... gmake: Leaving directory ... `typedef struct Principal*gss_name_t' ... 'typedef int gss_OID_set_desc' ... declaration as `typedef struct gss_buffer_desc_struct gss_buffer_desc' ...
    (freebsd-questions)
  • Re: organization of struct elements in the memory.
    ... typedef int one_data; ... typedef struct one_{ ... char *name; ...
    (comp.lang.c)
  • Re: long long problem
    ... > I'm having trouble with unsigned long long declarations on my SCO unix ... > 7.1.1 compiler. ... > typedef struct { ... C only requires support for bitfields of types signed int, plain int, ...
    (comp.lang.c)
  • Re: Same-name typedefS in separate translation units
    ... typedef struct s S; ... declarations are local to a translation unit at most, ... external linkage do have 'global'=program scope, ... have an appropriate newsgroups line in your header for your mail to be seen, ...
    (comp.lang.c.moderated)
  • typedef struct union question
    ... I am programming in MS Flight Simulator environment. ... header file called gauges.h in my C code. ... typedef struct that has some system variables that I would like to use in my ...
    (microsoft.public.vc.language)