how do i fetch thunderbird's contacts using a c++ program - c++

I want to fetch contacts from thunderbird using a C++ program.
As Outlook exposes API to access contacts,tasks,events and notes,is there any API by which i can access Thunderbird contacts ???
If not please tell me some other solution to access the thunderbird's addressbook.

There is a page at Mozilla (MDN) which describes the API for the address book (https://developer.mozilla.org/en/Thunderbird/Thunderbird_API_documentation) but it seems to be a bit out-of-date (last update was in 2000).
The good thing about Open Source is that you can check out the API for yourself. Hopefully it's also well commented to a large extent (I haven't checked it out though). Thread here http://forums.mozillazine.org/viewtopic.php?f=27&t=591519.
You can get the source code at https://developer.mozilla.org/en/Download_Mozilla_Source_Code. They also have some information at their Wiki regarding getting help in development (for instance connect to their IRC channel (https://wiki.mozilla.org/Thunderbird/Development).

Related

Url for google finance unable to get data

I am using this link to get multiple quotes for my own app
https://www.google.com/finance/info?infotype=infoquoteall&q=SGX:U11,ASX:TPM,ASX:WOW
However, it stop working now. Any alternatives google api that can get data for multiple quotes at one time?
well, I guess you're not in contact with Google, so heads up: it is very likely that you're violating their terms and conditions of use
You agree not to copy, modify, reformat, download, store, reproduce, reprocess, transmit or redistribute any data or information found herein or use any such data or information in a commercial enterprise without obtaining prior written consent. All data and information is provided “as is” for personal informational purposes only, ...
https://www.google.com/googlefinance/disclaimer/

Connecting to a server in c++ and collecting information

So I am using QTCreator (5.0/5.1) and I am trying to access a website in a way that allows me to access information.
I have built a gui (as this is faily easy) but I want to know how to go about connecting to a network in c++ for my first time.
so for example:
https://btc-e.com/api/2/btc_usd/ticker
I want to get all the information present to me there and store it, the parse it, I just don't know how to connect, to the site.
someone mentioned using the #include but I'm not sure how exactly to use it as well.
If you could provide an example that would be great!
Thanks!
For this kind of task you probably want to use the more high level Qt classes to retreive the page and parse the data. Qt provides classes for both HTTP retrieval and parsing JSON data.
Network Programming with Qt
JSON Support in Qt
Read over those documents, have an attempt at writing some code, then ask specific questions, giving the example code you've tried using and what results you're getting.

What would be a good Coldfusion-based bug tracking software?

What I am looking for is a tool that easily or automatically sends coldfusion error messages to their system.
Then I can use the web-based interface, to manage priorities, track who fixed what and so forth.
But I want to use this to help us deal with errors better, but also to show the importance of a bug tracking system to my fellow works.
System Requirements: Apache, Windows, Coldfusion 8 Standard, Sql Server 2005.
Financial Requirements: Free or Open Source
Goal Or Purpose: To encourage my fellow workers to want and use a bug tracking system.
Does this re-write make more sense?
Thanks
Craig
Wiki has a list of issue tracking software, maybe this list could help.
http://en.wikipedia.org/wiki/Comparison_of_issue_tracking_systems
You may be able to find a hosted service and use either email or web services to create the ticket using onError. With that said, a simple issue tracking app could be created for your site using the same DB used to drive the content. 2 or 3 tables would take care of the data storage and you're already using CF so the application layer is already there.
HTH.
I have been heavily using this type of a setup for several years by email only, and the last 3 years with a Bug Tracking Software.
I must say, the bug tracking software has made my life so much more peaceful. Nothing is left, forgotten, or slips through the cracks. It's easy to find trends in errors, and remember "all the times" it happened.
Our setup is like this:
1) Coldfusion + Appropriate framework with error reporting - It doesn't matter what you use. I have used Fusebox extensively and am making the transition to ColdBox. Both are very capable, in addition to Mach-II, FW/1, Model-Glue, etc. The key part you have to find in them is their ability to catch "onError", usualy in the application CFC.
2) Custom OnError Script - Wherever an error occurs, you want to capture the maximum amount of information about that error and email it in. What we do is, when an error occurs, we log the user out with a message of "oops, log in again". Before logging them out, the application captures the error and emails it to Fogbugz. Along with it, at the top we include the CGI variables for the IP address, browser being used, etc. Over time you will find the things you need to add.
3) Routing in Fogbugz. A 2 user version of Fogbugz is free, and hosted online. There are two main ways to submit bugs. One is to email one in at a time. So if an error happens 2000 times, you get 2000 emails, and 2000 cases. Not always the best to link them together, etc. They have a feature called BugzScout, which is essentially an HTTP address that you do a form post to with cfform with all of the same information you would have put into the email. There's plenty of documentation on this and something I've always wanted to get around to. I had a scenario of 2000 emails for the first time happen a few weeks ago so I'll be switching over to this.
Hope that helps. Share what you ended up doing and why so we all can learn too!
I'm surprised no one mentioned LighthousePro (http://lighthousepro.riaforge.org). Open source - 100% free - and ColdFusion. As the author I'm a bit biased though. :)
Hard question to answer not knowing what kind of restrictions are there? Do you have any permissions to install anything? Also most bug-tracking systems require some kind of database support.
I have a suggestion. You can put in place a basic bug-tracking system, that just allows people to create tickets, and allows you/someone else to close it.
More Windows based tools are mentioned here
Good open-source bug tracking / issue tracking sofware for Windows
Any reason why coldfusion specifically?
I really like Fogbugz from the makers of Stack Overflow. For one user it's quite reasonably priced. I enter some bugs manually and have others emailed in.
A lot of bug tracking software will expose SOAP methods for entering data into them.
For example, we used Axosoft's OnTime and that exposed some WSDL pages that I consumed in my application. I was told that Jira did as well.
There are few in CF411 list: Bug Tracking/Defect Tracking/Trouble Ticket/Help Desk Tools Written in CFML
We use HopToad. There is another bug-tracking app called LightHouse that integrates with HopToad so you can easily create a [bug] ticket from an incoming exception. HopToad has an API of which there are many clients, you want the CF based one:
http://github.com/timblair/coldfusion-hoptoad-notifier
Even if you dont use HopToad and you end up using a different service or roll your own, if you needed to write your own API client you could leverage the code or pattern(s) of the above HopToad client.
A lot of good information from everyone, and I really do appreciate the efforts given. But not the answer i was looking for. Which maybe means, that what i want does not exist, yet.
So i may have to roll my own solution...Or maybe integrate with another existing app...
Thank You all.

How to make custon data source in QlikView?

I have just started to develop in QlikView so I'm completely a newbie.
The problem that I have is that I need to create a c++ dll that can be used as a custom data source for QlikView, I already created the dll and QlikView can see it, but I don't know how should I do to make my data available to QlikView.
The data that I want to use is obtained as a request from the server, and the code is inside the c++ dll.
I had some examples that my boss got from QlikView tech department, they are SalesForce example and EbayDll example but they are kind of confusing, so I was wondering if you can point me to another example that may be easier to follow, or if you can give me some pointers that help me accomplish what I'm trying to do.
Just if someone is interested, I posted the same question in the QlikView Forum and the answer that I got was
"Get the version 9 SDK. It includes doc and a sample for a Custom Data Source. The SDK is available on a QV Server installation. If not already installed, I believe you can download the QVS9 and just install the SDK portion on your workstation."
The example contained in the SDK actually help me out a lot.
In QlikView 10 you can now use (the easier approach) of using the QVX API!
Regards
Stefan

Symbian: Is it possible to get access to a list of contacts through an application?

There are at least two ways that I know of to write a Symbian application:
1. J2ME
2. A native application.
My question is, does the SDK/API for either of those methods (or any other method) grant me (at least) read-only access to contact information (names/numbers/etc) on the phone itself? Does this in any way depend on the specific phone being used?
In C++, you can use e.g. the Contacts Model API. There's an example in Forum Nokia.
In J2ME, you need to be working on a phone that has JSR-75. Again, there's an example in Forum Nokia.
Open the default contact database using CContactDatabase::OpenL(). use thus returned database object in TContactIter::NextL() in a loop to fetch the IDs of every contact in the contact book.
Don't forget, as well as native C++ and J2ME (MIDP), you have:
Python (Example of Contacts access)
Flash Lite (Example of contacts access)
Widgets (Example of contacts access)
If you are thinking about lower-end devices which are often S40 devices, MIDP is probably your best bet however.