namespace & class syntax omitted for brevity...

[DllImport("SomeWidget.dll")]
static extern int Fubar(string strWhatEver);

//call it...
void Drill(string strToUse)
{
    Fubar(strToUse);
}

My question is can I call multiple methods in the same legacy com 
based dll without a [DllImport("SomeWidget.dll")] line for each 
method I want to use?

I can't seem to make it fly any other way, am I missing something 
obvious? some delimiter?

thanks in advance.



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to