[Mono-osx] Issue with DLL - How to make use of DLL
Viet Le
viet.aikidorb at gmail.com
Sat Oct 18 11:34:05 EDT 2008
Hi all,
I compiled C# code on MacOS Tiger using Mono 2.0 and compiled the tidyit.dll
using Visual Studio 2005 SP1 on Windows XP SP3.
The part of code that references tidyit.dll is:
namespace Viet.Projects.Google
{
class GoogleClient
{
[DllImport("tidyit.dll")]
public static extern string tidyit(string input, ref string
out_str, ref string err_str);
I don't know how to force/let compiled .exe file to use tidyit.dll on my
Mac:
Unhandled Exception: System.DllNotFoundException: tidyit.dll
at (wrapper managed-to-native) Viet.Projects.Google.GoogleClient:tidyit
(string,string&,string&)
at Viet.Projects.Google.GoogleClient.Main (System.String[] args) [0x00000]
Please kindly advise. Thank you very much!
Best regards,
Viet.
--
I submit to you that if a man hasn't discovered something he will die for,
he isn't fit to live.
(Martin Luther King Jr.)
-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20081018/ca9d2cf2/attachment.html
More information about the Mono-osx
mailing list