[Mono-list] calling library functions

Mario Munda mario.munda at amis.net
Fri Jan 27 06:21:57 EST 2006


First I wan't to thank Jorg Rosenkranz for help on long running services.

I have some weird problem with calling library functions.

I wrote library with cca 10 functions, and they all work ok, but one.

Declaration in library (mlibr.dll):        

    public void SendData(string Data,string RemoteIP,ushort RemotePort)
{
    //
}

Call in Main (Main.exe):

object.Bind();  - compile ok
object.SendData(); - compile error

Error description:

Main.cs(100,5): error CS0117: `funcs.net.msocket' does not contain a 
definition for `SendData'
Compilation failed: 1 error(s), 0 warnings

I'm compiling under windows xp and freebsd (both same result!).

I have no idea, what's going on...






More information about the Mono-list mailing list