[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Shell Namespace Extensions and Java

Posted on 2006-11-12
1
Medium Priority
?
541 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
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 how to dynamically set the form action using jQuery.
Suggested Courses

656 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