Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Integrate external application in SWT application(Integrate external application in SWT application)
Integrate external application in SWT application [message #974539] Wed, 07 November 2012 06:09 Go to next message
Ankit Agarwal is currently offline Ankit AgarwalFriend
Messages: 35
Registered: March 2012
Member
I understood how to integrate the application as described in the following links
http://www.eclipse.org/articles/article.php?file=Article-ActivexSupportInSwt/index.html
and http://www.ibm.com/developerworks/opensource/library/os-activex/# , but the problem now is that it requires a program ID. i tried to find the program Id of the application from Windows registry but it seems that the application does not have a program ID. IS there any alternate approach by which i can integrate or any way by which i can assign a program ID to the application
Re: Integrate external application in SWT application [message #985983 is a reply to message #974539] Fri, 16 November 2012 22:03 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Is the application that you want to embed written as either an Active X
control or an OLE Document? This is something that an app whose intent
is to be embeddable must do explicitly, and most do not do this. There
is not an alternate way to integrate a native application in SWT. From
SWT you can use the Program class to launch an external application, but
I don't know if this would make sense in your context or not.

Grant


On 11/7/2012 1:09 AM, Ankit Agarwal wrote:
> I understood how to integrate the application as described in the
> following links
> http://www.eclipse.org/articles/article.php?file=Article-ActivexSupportInSwt/index.html
>
> and http://www.ibm.com/developerworks/opensource/library/os-activex/# ,
> but the problem now is that it requires a program ID. i tried to find
> the program Id of the application from Windows registry but it seems
> that the application does not have a program ID. IS there any alternate
> approach by which i can integrate or any way by which i can assign a
> program ID to the application
Re: Integrate external application in SWT application [message #986008 is a reply to message #985983] Sat, 17 November 2012 11:28 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hm - IIRC on windows we once used the native handle of the composite and
passed that to the native application, but I can't find the code anymore :-(

Tom

Am 16.11.12 23:03, schrieb Grant Gayed:
> Is the application that you want to embed written as either an Active X
> control or an OLE Document? This is something that an app whose intent
> is to be embeddable must do explicitly, and most do not do this. There
> is not an alternate way to integrate a native application in SWT. From
> SWT you can use the Program class to launch an external application, but
> I don't know if this would make sense in your context or not.
>
> Grant
>
>
> On 11/7/2012 1:09 AM, Ankit Agarwal wrote:
>> I understood how to integrate the application as described in the
>> following links
>> http://www.eclipse.org/articles/article.php?file=Article-ActivexSupportInSwt/index.html
>>
>>
>> and http://www.ibm.com/developerworks/opensource/library/os-activex/# ,
>> but the problem now is that it requires a program ID. i tried to find
>> the program Id of the application from Windows registry but it seems
>> that the application does not have a program ID. IS there any alternate
>> approach by which i can integrate or any way by which i can assign a
>> program ID to the application
>
Previous Topic:Windows 64 bit XULRunner for 3.6.2?
Next Topic:Simple PDF Viewer using PDFRenderer
Goto Forum:
  


Current Time: Tue Apr 16 06:50:42 GMT 2024

Powered by FUDForum. Page generated in 1.01223 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top