Solved

Shell Namespace Extensions and Java

Posted on 2006-11-12
1
524 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
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 500 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now