Writing a Firefox Extension that uses XPCOM components? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm trying to write a Firefox extension that writes Firefox's history into the Windows system history, which ought to be useful for folks at work who use IE and Firefox to get work done.
Adding pages to IE history appears simple enough (IUrlHistoryStg::AddUrl ought to do it). However, my experience with Firefox extensions is limited to small chrome hacks packaged together in an XPI.
From my initial reading, it appears that I have to create a XPCOM component that will insert URLs into history. I'm not sure this can be done using Javascript, and I don't have much experience in writing extensions that use XPCOM components.
Could anyone familiar with Firefox extension development please point to any tutorials about writing extensions that use XPCOM components, especially those written using C++? Or are there any open-source extensions that use components I could look at to learn more about this?

Related

Using EdgeHTML instead of MSHTML [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
We have developed a Windows Desktop HTML/XSL editing application, written in C++ using MFC/ATL/COM technologies, relying heavily on MSHTML's IHTML* COM interfaces, like IHTMLElementPtr, IHTMLDocumentPtr, IWebBrowser2, and so on, making it easy for an end user to build a website.
We are now looking at using EdgeHTML instead of MSHTML in our application. I have been searching for examples of how to create a simple editing application using EdgeHTML written in C++ to get started with finding out what's needed and how EdgeHTML works as an HTML editor. I have been unsuccessful in finding anything useful, ie, a full sample application.
We have to use C++ as our programming language.
Can anyone please help us in how to get started, ie, explain, provide or suggest where I can find a useable, functioning sample application as described above?
All we need is something to get started with.
Thanks in advance

read/write the excel file in c++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have to read/write the excel file in C++. I searched in net I found may library file which provides the functionality to parse the Excel sheet but those library are not opensource.
Can any one let me know the easiest way to read/write excel file in c++.
If you suggest and predefine library then it should be free of cost.
Several routes:
If you're parsing character separated value files, then you can use simple iostreaming.
Develop an XLL. Download the Excel SDK and go from there. The framework example in that SDK is pretty good.
Use the COM interface. For this you'll need something like Microsoft's ATL. Low level COM, though possible, is difficult.
Use Apache POI and a JNI / JNA layer to it.
(4) has the advantage that excel doesn't need to be installed so can run well server-side, but it will require Java. (3) is a learning curve if you haven't used COM in C++ before. Budget 6 months of mental fog.
In the absence of any more information, I'd plump for (2). The XLL interface is extremely good.

Tools for making web applets [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Iv written a program in C++ that takes a set of n points and two double variables as input and output a graph with some special properties. I also wrote some OpenGL codes to visualize this graph. I showed the result to my teacher and he liked it and asked me if I can build an applet so he can put it in his web site so the other students can use it. I almost know nothing about making an applet. What are my options? is it possible to do such thing?
note that the C++ program itself is not simple.
an output of my program looks like this.
You could make your C++ program some specialized web server, using HTTP server libraries like libonion or Wt; you might also use FastCGI (i.e. make your program become a FastCGI server application), or, if your program is quasi-static and produce simple output and if you accept having a crude web interface, perhaps make it use old CGI
Of course you need to learn more about Web technologies (e.g. on w3schools - which is not perfect). You need to learn HTML5 with a bit of HTTP, Javascript (perhaps with JQuery) & Ajax, Html5 Canvas, perhaps WebGL. Google browsers also have Native Client (NaCl).
But all this requires a significant amount of work (weeks or perhaps months; if you do it, please publish your software as free software)
BTW, you might be interested in graphviz ...

Tutorial on how to host VST plugins using JUCE? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I would like to write some code to host VST plugins in my C++ application. It looks like the JUCE library may be helpful for this. Does anyone know where I can find a tutorial on how to host and connect together VST plugins in JUCE?
I've built the JUCE code and got the 'Plugin Host' sample working. It looks like the library will be able to do just what I want. My problem is that I'm finding the sample code hard to follow (not many comments etc). It also uses a lot of JUCE-specific coding for managing the UI and so on. I'm finding it hard to disentangle what I need to do to manage VST plugins from the other code in the sample.
If anyone knows of a tutorial I would be very grateful!
Most of the sample Juce code is indeed very Juce-specific, and if you're going to use that platform I'd encourage you to stick with it and push through the samples, even though they may not be very pretty.
It might be useful for you to know a bit more about VST hosting outside of Juce, though. Here's a tutorial on hosting VST's by hand in a C++ application.
This tutorial walks through the development of audio applications using JUCE, and in part 2 they cover hosting VST plugins.
(edit: I updated the links, also note they have a part 3 to the series)

Total beginner looking for tutorials programming outlook add ins in c++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm an absolute beginner in Outlook programming and Windows GUI programming in general. But I have lots of years experience in C++ programming in general (not GUI)
I need to develop a Outlook plug-in and my question is where to start?
What do I need to know to let me start?
Can you please give me some useful links to learn ?
OutlookCode.com and it's forums are always my first point of call with Outlook related programming. Also see the Office Developer Centre.
For your specific scenario the COM Add-ins page links to the following ATL/C++ sample.
you can use Outlook ActiveX library or CDO COM library, the best choose is to use the first one if you are sure user has installed outlook