A
adrin
hi i have the following problem:
i use functions from an external dll(normal w32 unmanaged library) which
takes a structure address as an argument..
how do i pass it in c#?
i tried using array instead od struct and fixed statement to get a pointer,
it seemed to work, but i bet there is a better and more elegant way to do
that
and a second issue which is more imprortant
one member of the structure given as an argument(or rather address of which
is given as an arg) is a pointer to a callback function... how do i get
function pointer in c# and pass it to that unmanaged code, so it can be
called from that code in the future?
please help me, i would be very grateful.
i use functions from an external dll(normal w32 unmanaged library) which
takes a structure address as an argument..
how do i pass it in c#?
i tried using array instead od struct and fixed statement to get a pointer,
it seemed to work, but i bet there is a better and more elegant way to do
that
and a second issue which is more imprortant

one member of the structure given as an argument(or rather address of which
is given as an arg) is a pointer to a callback function... how do i get
function pointer in c# and pass it to that unmanaged code, so it can be
called from that code in the future?
please help me, i would be very grateful.