473,387 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C program retrieving information from Outlook?

Hi!

I would like my C program to fetch data from Microsoft Outlook, stuff
like calendar, contacts and so on. Does anyone know if this is even
possible? Does anyone have any ideas of where to find information about
this matter, since microsoft does not provide C-related information?

Regards
/David [Sweden]

Jan 5 '06 #1
3 1246
M.B

David wrote:
Hi!

I would like my C program to fetch data from Microsoft Outlook, stuff
Terribly off topic
like calendar, contacts and so on. Does anyone know if this is even Yes, of course. you can...
possible? Does anyone have any ideas of where to find information about
this matter, since microsoft does not provide C-related information? Check any win32 programming /MFC/VC++.OLE group.
Good luck with the hunt!!! :-)
Regards
/David [Sweden]


- M.B

Jan 5 '06 #2

M.B skrev:
David wrote:
Hi!

I would like my C program to fetch data from Microsoft Outlook, stuff


Terribly off topic
like calendar, contacts and so on. Does anyone know if this is even

Yes, of course. you can...
possible? Does anyone have any ideas of where to find information about
this matter, since microsoft does not provide C-related information?

Check any win32 programming /MFC/VC++.OLE group.
Good luck with the hunt!!! :-)


Thanx, I will try to improve my aim for the next hunt though... ;-)

Regards
/David [Sweden]


- M.B


/David

Jan 5 '06 #3
"David" <fe**************@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
Hi!

I would like my C program to fetch data from Microsoft Outlook, stuff
like calendar, contacts and so on. Does anyone know if this is even
possible?
Yes it is. I've done a small amount of it myself. But it cannot
be done with only standard C. You'll need an interface. Microsoft
provides one.
Does anyone have any ideas of where to find information about
this matter,
www.msdn.microsoft.com
since microsoft does not provide C-related information?


Much of the Microsoft documentation uses C (and/or C++)
in its examples etc. For example, the entire Windows API
is designed to be called from C (although mechanisms are
also available for access from other languages as well).

Note that your query is not really topical for comp.lang.c,
since its solution(*) will involve things outside the domain of the
ISO standard C language.

(*) Strictly speaking, I suppose one could use pure standard
C to open and read an Outlook file, but one would need to have
the specification of the data layout (which afaik is proprietary),
and 'manually' parse the file. I recommend using the interface
provided by Microsoft for this purpose (for example, the data
format might change, and a 'manual' solution would no longer
work). Let MS assume the responsibility for guaranteeing their
interface works correctly with changing data formats.)

Purpose of comp.lang.c:
http://www.ungerhu.com/jxh/clc.welcome.txt

C FAQ:
www.eskimo.com/~scs/C-faq/top.html

-Mike
Jan 5 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Dave Hopper | last post by:
Hi I am using the following SQL to retrieve a value in a list box using a unique ID held in the list box call cntID. The list box is used on an order form to list appointments that have been...
0
by: john bailo | last post by:
I am attempting to create a c# program to iterate through the messages in an Outlook/Exchange public folder and extract the headers. My apologies to the VB/VBA groups, but you seem to have more...
1
by: kerpal | last post by:
Hi all, I need to retrieve some information (POP/SMTP server names, etc.) of a current POP3 login email account in Outlook 2002/2003. How may i go about achieving this? Any suggestion would...
3
by: Chris Thunell | last post by:
I am using vb.net to access a public folder in Outlook / Exchange Server. Whenever my program tries to access this folder i get a dialogue box saying "A Program is trying to access Outlook. Do you...
21
by: Rajen | last post by:
When I run this program. #include<stdio.h> int main() { FILE *fp; int i; float f; char str;
4
by: omrivm | last post by:
Hi, I have a problem with Outlook Redemption, every time I'm trying to create a new RDOAddressBook: Redemption.RDOAddressBook AB = new RDOAddressBook(); I get: "Retrieving the COM class factory...
0
by: Klaki | last post by:
I'm trying to create an instance of Outlook using VB.net and every time I run the site, I get the following error: Retrieving the COM class factory for component with CLSID...
1
by: mary mathews | last post by:
Hi, I'm getting an exception while tried to retrive an outlook contact using asp.net in a console application. The exception is as follows: An unhandled exception of type...
3
by: Bruno Vignola | last post by:
Good Morning all, I need to interoperate with the Calendar of MS Outlook 2003 (inserting, retrieving, listing events, etc. etc.) from an ASP.NET application; I first developed a simple windows...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.