Hej Henke,
Quote:
>Thanks Mattias, (man f?r inte skriva p? svenska h?r va?)
Jod? det f?r man v?l om man vill, men det minskar ju l?sarkretsen
drastiskt, och d?rmed chansen att f? ett bra svar.
Quote:
>So this is the way to do it, looking the name up with Depends and add the
>entry point I mean?
What Greg said.
In addition to that, you should set the calling convention (with
DllImport.CallingConvention) to cdecl to match the C code. It might
not matter in this case since the function doesn't take any
parameters, but for other functions it does.
Mattias
===
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.