Solved

Shell Namespace Extensions and Java

Posted on 2006-11-12
1
536 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
 shows up in Outlook, not OWA or on phone 3 78
Why is "packages element is not declared"? 2 465
Cordova Camera plugin fails 2 167
How to write an English digest paper 6 104
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

726 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