[Mono-list] IL question

Lloyd Dupont lloyd@galador.net
Sat, 24 Nov 2001 01:47:06 +0100


i am making my very first step in IL language.
now just reading very tiny decompiled exemple.

my interest is interop so i have tiny unassembled exemple with interop.

i see that my interop declaration is all resumed in this few little keyword:

  static pinvokeimpl("myFunction" winapi)

but i don't want to use GetProcAddress (or dlsym) function to get the 
address of my function. in fact i want to use a C function pointer i 
could already have in managed code as an IntPtr.
is there a way to achieve this ?