FW: [Mono-list] calling library functions
PBradley at uwic.ac.uk
Fri Jan 27 06:36:06 EST 2006
Just a thought...
Are you using a signed assembly?
Did you write the functions such that the SendData() function only
occurs in a later version?
Are you sure the correct version is being loaded (e.g. is the one in the
GAC the one with both the functions)?
Try renaming or deleting all previous versions and see what happens.
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Mario Munda
Sent: 27 January 2006 11:22
To: mono-list at lists.ximian.com
Subject: [Mono-list] calling library functions
First I wan't to thank Jorg Rosenkranz for help on long running
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
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...
Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list