Re: [Banshee-List] Windows! (Yes, I said WINDOWS!)
- From: "Scott Peterson" <lunchtimemama gmail com>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Windows! (Yes, I said WINDOWS!)
- Date: Mon, 1 Sep 2008 01:56:19 +1200
Oh, there are a few other particulars that I wanted to mention:
Mono.Cairo. One of the *-sharp.dll wrapper assemblies references
Mono.Cairo.dll 1.0.5 but we reference Mono.Cairo.dll 2.0. This kills
Aaron's dream of just shoving all of the dependencies in the executing
directory: one of the two will need to be registered through the GAC.
The other thing is, I had to use the Windows filenames for extern
method DLLs. Since Mono has a faculty for DLL mapping, I recommend we
use the Windows names in the source and rely on Mono to resolve those
to the Unix names when appropriate. The other option is:
[DllImport("libglib-2.0-0.dll")]
private static extern IntPtr g_filename_to_uri_win32 (IntPtr filename,
IntPtr hostname, IntPtr error);
[DllImport("libglib-2.0.so")]
private static extern IntPtr g_filename_to_uri (IntPtr filename,
IntPtr hostname, IntPtr error);
if(Environment.OSVersion.Platform == PlatformID.Unix)
g_filename_to_uri(filename, hostname, error);
else
g_filename_to_uri_win32(filename, hostname, error);
Which sucks hard.
OK, that's really all for now.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]