Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java-COM bridge the other way?

Reply
Thread Tools

Java-COM bridge the other way?

 
 
aaronfude@gmail.com
Guest
Posts: n/a
 
      01-07-2005
Hi,

Is it possible to use Java to _create_ a COM object? (Or, potentially,
to create C++ code that can be compiled into a COM object?)
Thanks!

Aaron Fude

 
Reply With Quote
 
 
 
 
Davide Consonni
Guest
Posts: n/a
 
      01-07-2005
why !?

--
Davide Consonni
http://csvtosql.sourceforge.net
 
Reply With Quote
 
 
 
 
aaronfude@gmail.com
Guest
Posts: n/a
 
      01-07-2005
to avoid dealing with messy MS programming.

 
Reply With Quote
 
SPG
Guest
Posts: n/a
 
      01-07-2005
JACOB can to do this..

http://danadler.com/jacob/



<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Hi,
>
> Is it possible to use Java to _create_ a COM object? (Or, potentially,
> to create C++ code that can be compiled into a COM object?)
> Thanks!
>
> Aaron Fude
>



 
Reply With Quote
 
aaronfude@gmail.com
Guest
Posts: n/a
 
      01-07-2005
Is this new functionality. From their description, you wouldn't think
so:

JACOB is a JAVA-COM Bridge that allows you to call COM Automation
components from Java. It uses JNI to make native calls into the COM and
Win32 libraries.

It says "call". Are you sure it can "create"?

Basically, will it allow someone who doesn't know C++ build an Excel
addin?

 
Reply With Quote
 
SPG
Guest
Posts: n/a
 
      01-07-2005
Ah.. sorry, I thought you meant use COM components within java.
This will allow you to create for example an Excel object and manipulate it
in java.
I don't think this works the other way around I am afraid.

Why not have a look at .NET (C#), it is spookily similar to JAVA
structure-wise and has hooks into Excel etc for you to make addins

Steve

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Is this new functionality. From their description, you wouldn't think
> so:
>
> JACOB is a JAVA-COM Bridge that allows you to call COM Automation
> components from Java. It uses JNI to make native calls into the COM and
> Win32 libraries.
>
> It says "call". Are you sure it can "create"?
>
> Basically, will it allow someone who doesn't know C++ build an Excel
> addin?
>



 
Reply With Quote
 
aaronfude@gmail.com
Guest
Posts: n/a
 
      01-07-2005
You are probably right that that is what I should do.

I'm basically trying to use as few MS products as possible, but of
course, Excel does not have an equal.

Also trying to avoid the .net and com+ learning curve. I have not been
able to find a working example that would be a good starting point.
Aaron

 
Reply With Quote
 
Frank Plassmeier
Guest
Posts: n/a
 
      01-08-2005
Hello Aaaron,

http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> Hi,
>
> Is it possible to use Java to _create_ a COM object? (Or, potentially,
> to create C++ code that can be compiled into a COM object?)
> Thanks!


Check if

http://java.sun.com/j2se/1.4.2/docs/...ide/index.html

meets your requirements.

The Java part is already bundled with the standard JDK/JRE & Java
Plugin, but an MS Visual C++ compiler is also required (for dll
generation I assume).

>
> Aaron Fude
>


Kind regards,
Frank Plassmeier
 
Reply With Quote
 
Cindi
Guest
Posts: n/a
 
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"other PCI bridge devices " v2brothers Computer Support 2 07-30-2007 01:54 PM
Bridge/workgroup bridge scenario and channels Chris_D Cisco 6 08-05-2005 07:46 AM
Bridge or other solution Newsreader Wireless Networking 2 03-25-2005 08:24 PM
Unable to ping other machines on IRB bridge rwilson Cisco 1 10-28-2003 03:52 PM



Advertisments