Re: [Mono-dev] Windows Shell

2006-12-01 Thread Steve K
The ShlWapi stuff is only needed because IShellFolder.GetDisplayNameOf() returns a STRRET, ShlWapi.dll provides StrRetToBuf which makes translating this abomination to a standard string a little easier. Or am I missing the point? I am looking into the portland project for providing special

Re: [Mono-dev] Windows Shell

2006-12-01 Thread Charlie Poole
Of Steve K Sent: Friday, December 01, 2006 1:02 AM To: Charlie Poole Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Windows Shell The ShlWapi stuff is only needed because IShellFolder.GetDisplayNameOf() returns a STRRET, ShlWapi.dll provides StrRetToBuf which makes translating

Re: [Mono-dev] Windows Shell

2006-11-30 Thread Steve K
I have created a first iteration of the windows implementation, attached. I have not integrated this into the mono build system, or indeed tried compiling it with mcs yet, as I am having difficulty building mono under cygwin. Here's a brief overview of the API: interface IShellItem - This acts

Re: [Mono-dev] Windows Shell

2006-11-30 Thread Charlie Poole
de Icaza Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Windows Shell I have created a first iteration of the windows implementation, attached. I have not integrated this into the mono build system, or indeed tried compiling it with mcs yet, as I am having difficulty building mono

Re: [Mono-dev] Windows Shell

2006-11-30 Thread Steve K
-- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Steve K *Sent:* Thursday, November 30, 2006 6:37 AM *To:* Miguel de Icaza *Cc:* mono-devel-list@lists.ximian.com *Subject:* Re: [Mono-dev] Windows Shell I have created a first iteration of the windows implementation

Re: [Mono-dev] Windows Shell

2006-11-30 Thread Charlie Poole
might be pertinent to how you approach it. Charlie _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve K Sent: Thursday, November 30, 2006 12:22 PM To: Charlie Poole Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Windows Shell As far as I can tell

Re: [Mono-dev] Windows Shell

2006-11-30 Thread Steve K
Hi Charlie, Like you I am more familiar with Windows, but it appears to me that many of the virtual folders on Windows have analogues in the *nix world. For example, looking at Nautilus on my Ubuntu system, there is a Computer and a Desktop entry. As for the usefulness of the library, I cannot

Re: [Mono-dev] Windows Shell

2006-11-30 Thread Charlie Poole
@lists.ximian.com Subject: Re: [Mono-dev] Windows Shell Hi Charlie, Like you I am more familiar with Windows, but it appears to me that many of the virtual folders on Windows have analogues in the *nix world. For example, looking at Nautilus on my Ubuntu system, there is a Computer and a Desktop entry

Re: [Mono-dev] Windows Shell

2006-11-29 Thread Steve K
Hello Khaled, I do not quite understand you -- MS PowerShell is a scripting language as far as I can tell. My code is concerned with exposing the Windows Shell Namespace to .NET applications, the Windows Shell Namespace being the hierarchy of files, folders and Virtual Folders as used by Windows

Re: [Mono-dev] Windows Shell

2006-11-29 Thread Steve K
Aplologies for replying to my own message, but I have a few questions to field. 1) Does Mono simply need to provide an API to get the icons for files and folders, and find the location in the filesystem of the Recent Documents list? 2) Or do we need to expose the Shell/Nautilus/etc Namespace in

Re: [Mono-dev] Windows Shell

2006-11-29 Thread Sebastien Pouliot
On Wed, 2006-11-29 at 16:19 +, Steve K wrote: Aplologies for replying to my own message, but I have a few questions to field. 1) Does Mono simply need to provide an API to get the icons for files and folders, The framework already have such an API (in 2.0) with

Re: [Mono-dev] Windows Shell

2006-11-29 Thread Jonathan Pobst
My opinion, but what I think we need to achieve, and how to get there is roughly: - Get the Moma results of P/Invoke calls, sorted by call frequency. - For each one: - Try to figure out why it's being called (what the user is trying to accomplish, which is not always easy or possible) -

Re: [Mono-dev] Windows Shell

2006-11-29 Thread Steve K
Yes, I agree with your assesment. As for duplicating the Windows Shell API, it would need to be abstracted quite significantly, as it is the single worst API I have used, and very much tied to the win32 implementation. How does one go about getting the Moma results? My opinion, but what I

Re: [Mono-dev] Windows Shell

2006-11-29 Thread Miguel de Icaza
Hello, Yes, I agree with your assesment. As for duplicating the Windows Shell API, it would need to be abstracted quite significantly, as it is the single worst API I have used, and very much tied to the win32 implementation. I would create an abstraction for what you are trying to