dllimport
Hi,
I had made an application in mfc .net 2005 and after compiling i got the dll, now i want to import those dll in c# to make the application in it. In the methods defined in dll we have user defined refernce arguments like
BOOL call(Income &,const Interestrate &);
I need to call these functions in c#.
I tried to import dll and define function like this:
using System.Runtime.InteropServices;
public classMyapp
{
[DllImport ("Income",EntryPoint="Incomerate")]
public static extern bool Incomerate(Income &,const Interestrate &);
}
But I'm getting error Identifier expected;
please help.
|