dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pnet-developers] Conts && DllImport || What am I doing wrong?


From: Rhys Weatherley
Subject: Re: [Pnet-developers] Conts && DllImport || What am I doing wrong?
Date: Wed, 15 Oct 2003 08:22:59 +1000
User-agent: KMail/1.4.3

On Tuesday 14 October 2003 11:21 pm, jscottb wrote:

>       [DllImport(DLLNAME)]
>       extern public static int getpid ( );

There's currently a problem with constant resolution (which is already logged 
in Savannah).  It can be worked around as follows:

       [DllImport(Test.DLLNAME)]
       extern public static int getpid ( );

i.e. include the class name when you mention the string name.

Cheers,

Rhys.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]