Topics
15 May 2014, 22:29
 4667
 5
Replies

Laszlo_Tormasi
16 May 2014, 14:19

RE:

Spotware said:

You can try to specify absolute path to your dll instead of relative one. For example:

class Test
{
    [DllImport(@"C:\sample.dll")]
    public static extern int gget(out double[] c);
 
}

Probably you also need to specify AccessRigths.FullAccess instead of AccessRights.None

Many thanks, it is working now.  


@Laszlo_Tormasi