Yes.
Declare Sub tbl_get lib "libname.dll" ( )
Actually, if it's returning something (which, by the name, seems to be the
case), you'll have to use Declare Function instead, and specify the return
type. After declaring the external function, you should be able to call it
anywhere in your program.
-Rob
"CJ Taylor" <no****@blowgoats.com> wrote in message
news:10*************@corp.supernews.com...
I need to use P/Invoke don't i?
"CJ Taylor" <no****@blowgoats.com> wrote in message
news:10************@corp.supernews.com... Hey how do I import an old C library that doesn't expose COM or anything
like that? Would I do it like an API declaration?
I have a function in a tbl.dll file such that...
tbl_get() no params.
Thanks,
CJ