?
Solved

Shell Namespace Extensions and Java

Posted on 2006-11-12
1
Medium Priority
?
540 Views
Last Modified: 2013-12-03
I am writing an application in Java which has to work on any platform ("any" = Windows, Mac OS X, Linux). The application uses custom objects which appear on the user's desktop, some of which have to be drop targets. I don't expect to be able to write this part of the application in Java on any of the platforms I target... I think I need platform-specific code to handle this, and I am happy with that.

On Windows, the solution appears to be writing a shell namespace extension. Assuming this is correct, how do I go about doing it?

Am I correct in saying that the solution would be to implement the shell namespace extension in C#, C++ or whatever, using publicly available tools; and to access that shell namespace extension from the Java program using a Java/COM bridge? Is there an easier way?

I am not familiar with development tools under Windows: is there a way of developing the shell namespace extension without acquiring a commercial IDE just for that purpose?

Regards
Stephen Winnall
0
Comment
Question by:winnall
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 1500 total points
ID: 17925534
I'd suggest to start out at http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_adv/namespaceextension/namespace.asp ("Creating a Shell Namespace Extension"). You will find a working example at http://support.microsoft.com/kb/178665 ("HOWTO: RegView.exe Contains Shell Namespace Extension Example")

>>Am I correct in saying that the solution would be to implement the shell namespace extension in C#,
>>C++ or whatever, using publicly available tools; and to access that shell namespace extension from
>>the Java program using a Java/COM bridge? Is there an easier way?

Actually anything that is not "native" Win32 is "out" (no C#, no Java, e.g. C/C++ or maybe Delphi will work). A Java/COM bridge will certainly work, but depending on what data you need to communicate, other IPC methods mught do also.
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question