Re: Is there any way to build in the same dll a COM and XPCOM object?

2007-01-24 Thread dc
not a good idea. to answer the topic question, yes you can have a library that has both com and xpcom components, and in fact com and xpcom are binary compatible. all you need is to make sure you have the entry points required for both. in xpcom, the entrypoint is NSGetModule (there are lots of mac

Re: Is there any way to build in the same dll a COM and XPCOM object?

2007-01-24 Thread timeless
none of the gecko core people use microsoft projects to do builds. iow: asking here for information about how to adapt a visual studio 98 (or 2002, 2003, 2005, 2007, ...) project is not a good idea. to answer the topic question, yes you can have a library that has both com and xpcom components

Is there any way to build in the same dll a COM and XPCOM object?

2007-01-24 Thread dc
Is there any way to build in the same dll a COM and XPCOM object? I tried to start with msdev 6.0 (sp 6, Platform SDK - winxp sp 2) an empty COM project. Then, I tried to follow the steps in this tutorial: http://www.iosart.com/firefox/xpcom/, but the compiler rise this error for my

Re: COM and XPCOM

2006-08-31 Thread vindys
lop an application that will be able to export objects > > >> as XPCOM or COM. Is there a layer for this. So that I write a single code > > >> and with a define I can get XPCOM or COM objects. > > > > > > The actual COM and XPCOM objects are compatible. I.e., al

Re: COM and XPCOM

2006-08-31 Thread vindys
rt objects > >> as XPCOM or COM. Is there a layer for this. So that I write a single code > >> and with a define I can get XPCOM or COM objects. > > > > The actual COM and XPCOM objects are compatible. I.e., all you should > > need to change is the registration

Re: COM and XPCOM

2006-08-30 Thread Frank
Christian Biesinger wrote: Emanuel Dejanu wrote: 1. I want to develop an application that will be able to export objects as XPCOM or COM. Is there a layer for this. So that I write a single code and with a define I can get XPCOM or COM objects. The actual COM and XPCOM objects are compatible

Re: COM and XPCOM

2006-07-24 Thread Myles
gt; Jon Smirl wrote: >> On 3/3/06, Christian Biesinger <[EMAIL PROTECTED]> wrote: >>> Emanuel Dejanu wrote: >>>> 1. I want to develop an application that will be able to export objects >>>> as XPCOM or COM. Is there a layer for this. So that I write a single

Re: COM and XPCOM

2006-04-12 Thread Benjamin Smedberg
Jeremy E wrote: Does that mean that I can create any COM object on Windows from my extension using script? I think so, as long as the component supports IDispatch. It might require some special prefs to be enabled. I don't really know the details. --BDS _

Re: COM and XPCOM

2006-04-11 Thread Jeremy E
Emanuel Dejanu wrote: >>>> 1. I want to develop an application that will be able to export objects >>>> as XPCOM or COM. Is there a layer for this. So that I write a single >>>> code >>>> and with a define I can get XPCOM or COM objects. >>>

Re: COM and XPCOM

2006-03-03 Thread Benjamin Smedberg
bjects. The actual COM and XPCOM objects are compatible. I.e., all you should need to change is the registration code. Does XPCOM offer dual interfaces on windows or do you need to use invoke for everything? XPCOM has no concept of IDispatch: scripting (xpconnect) is implemented by inspecting th

Re: COM and XPCOM

2006-03-03 Thread Jon Smirl
COM or COM objects. > > The actual COM and XPCOM objects are compatible. I.e., all you should > need to change is the registration code. Does XPCOM offer dual interfaces on windows or do you need to use invoke for everything? -- Jon Smirl [EMAIL PROTECTED] __

Re: COM and XPCOM

2006-03-03 Thread Christian Biesinger
Emanuel Dejanu wrote: 1. I want to develop an application that will be able to export objects as XPCOM or COM. Is there a layer for this. So that I write a single code and with a define I can get XPCOM or COM objects. The actual COM and XPCOM objects are compatible. I.e., all you should need

COM and XPCOM

2006-03-03 Thread Emanuel Dejanu
Hello, 1. I want to develop an application that will be able to export objects as XPCOM or COM. Is there a layer for this. So that I write a single code and with a define I can get XPCOM or COM objects. 2. Is there a problem with running XPCOM based application on Windows 95? I know that Firefox