473,569 Members | 2,770 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need Outlook c++ file msoutl.h

Don't any of you MVPs have a copy of this file -- msoutl.h-- it's referenced
in lots of MS sample code.
Nov 17 '05 #1
8 3919
"in**@u-s-tech.com" <in***********@ discussions.mic rosoft.com> wrote in
message news:A6******** *************** ***********@mic rosoft.com...
Don't any of you MVPs have a copy of this file -- msoutl.h-- it's
referenced
in lots of MS sample code.


Two points:

1) Office development issues don't come up a lot in this group.
2) Rarely does a developer have the right to distribute header and source
files not created by him

I'd post again in a group that focuses on extending MS Office.

That said, and for what it is worth, I just looked at a very old project of
mine wherein I needed to access Outlook's contact list. I imported (#import)
the file MSOUTL.OLB and the compiler created .tli and .tlh files which
define the C++ wrappers to the COM objects in question.

Regards,
Will
Nov 17 '05 #2
Yes, I generated the wrapper classes from msoutl.olb -- still need the file
msoutl.h -- don't think emailing it would break any rules -- info at
mediaclubroyale dot com.

Thanx.

"William DePalo [MVP VC++]" wrote:
"in**@u-s-tech.com" <in***********@ discussions.mic rosoft.com> wrote in
message news:A6******** *************** ***********@mic rosoft.com...
Don't any of you MVPs have a copy of this file -- msoutl.h-- it's
referenced
in lots of MS sample code.


Two points:

1) Office development issues don't come up a lot in this group.
2) Rarely does a developer have the right to distribute header and source
files not created by him

I'd post again in a group that focuses on extending MS Office.

That said, and for what it is worth, I just looked at a very old project of
mine wherein I needed to access Outlook's contact list. I imported (#import)
the file MSOUTL.OLB and the compiler created .tli and .tlh files which
define the C++ wrappers to the COM objects in question.

Regards,
Will

Nov 17 '05 #3
in**@mediaclubr oyale.com wrote:
Yes, I generated the wrapper classes from msoutl.olb -- still need
the file msoutl.h -- don't think emailing it would break any rules --
info at mediaclubroyale dot com.


What makes you think you need that file? Presumably you're trying to re-use
some code that used a file with that name that was produced by some tool.

In any case, the official API for Outlook is defined by the msoutl.olb file,
not by a header. You can use #import to generate .tlh/tli files, or you can
use the MFC wizards to create a wrapper - perhaps that's what was in the
msoutl.h file that you seek.

-cd


Nov 17 '05 #4
"in**@mediaclub royale.com"
<in************ ********@discus sions.microsoft .com> wrote in message
news:AF******** *************** ***********@mic rosoft.com...
Yes, I generated the wrapper classes from msoutl.olb -- still need the
file
msoutl.h -- don't think emailing it would break any rules -- info at
mediaclubroyale dot com.


As I said, I don't do Office development and I don't have the file.

You'd be better off asking in a group populate by Office developers.

Regards,
Will


Nov 17 '05 #5
Please see MS Knowledgebase Article ID : 220600
Last Review : June 29, 2004
Revision : 1.0

How To Automate Outlook Using Visual C++/MFC

-- the code won't compile without the file msoutl.h -- can't seem to find it
anywhere on the web -- most Outlook developers are in vb.net, not C++
-- can't generate the file -- so was hoping someone could email it to me --
info at mediaclubroyale dot com. Thanks.
"in**@u-s-tech.com" wrote:
Don't any of you MVPs have a copy of this file -- msoutl.h-- it's referenced
in lots of MS sample code.

Nov 17 '05 #6
in**@mediaclubr oyale.com wrote:
Please see MS Knowledgebase Article ID : 220600
Last Review : June 29, 2004
Revision : 1.0

How To Automate Outlook Using Visual C++/MFC

-- the code won't compile without the file msoutl.h -- can't seem to
find it anywhere on the web -- most Outlook developers are in vb.net,
not C++
-- can't generate the file -- so was hoping someone could email it to
me -- info at mediaclubroyale dot com. Thanks.
"in**@u-s-tech.com" wrote:
Don't any of you MVPs have a copy of this file -- msoutl.h-- it's
referenced in lots of MS sample code.


Have you actually read the instructions in that KB article?

4. Bring up the ClassWizard (Control-W) click the Automation Tab, and choose
"From a type library" under the Add Class menu.

5. In the dialog box that comes up, navigate to the directory where Outlook
is installed, and choose the Outlook type library (see table below). Select
all the items it finds, and click OK to have ClassWizard generate MFC
wrapper classes for all of them: Outlook Version Type Library
97 msoutl8.olb
98 msoutl85.olb
2000 msoutl9.olb
2002 msoutl.olb
2003 msoutl.olb

Following those steps will PRODUCE msoutl.h, assuming you have Outlook 2002
or 2003. Note that those steps are for VC6. For VC7.1, the procedure to
get the MFC class wizard to produce the header file is no doubt different
(ask on the MFC group if you can't figure out how to do it).

If you're not using MFC, then the procedure givein in the KB article is not
relevant - you should use #import instead.

-cd

Nov 17 '05 #7
Yea -- I was trying to get it work from C++ .Net (2003) -- which is a whole
different animal and never kicks out msoutl.h when you generate from the
typelib -- I reverted back to C++ 6.0 and it all works.

Thanks for your help.

"Carl Daniel [VC++ MVP]" wrote:
in**@mediaclubr oyale.com wrote:
Please see MS Knowledgebase Article ID : 220600
Last Review : June 29, 2004
Revision : 1.0

How To Automate Outlook Using Visual C++/MFC

-- the code won't compile without the file msoutl.h -- can't seem to
find it anywhere on the web -- most Outlook developers are in vb.net,
not C++
-- can't generate the file -- so was hoping someone could email it to
me -- info at mediaclubroyale dot com. Thanks.
"in**@u-s-tech.com" wrote:
Don't any of you MVPs have a copy of this file -- msoutl.h-- it's
referenced in lots of MS sample code.


Have you actually read the instructions in that KB article?

4. Bring up the ClassWizard (Control-W) click the Automation Tab, and choose
"From a type library" under the Add Class menu.

5. In the dialog box that comes up, navigate to the directory where Outlook
is installed, and choose the Outlook type library (see table below). Select
all the items it finds, and click OK to have ClassWizard generate MFC
wrapper classes for all of them: Outlook Version Type Library
97 msoutl8.olb
98 msoutl85.olb
2000 msoutl9.olb
2002 msoutl.olb
2003 msoutl.olb

Following those steps will PRODUCE msoutl.h, assuming you have Outlook 2002
or 2003. Note that those steps are for VC6. For VC7.1, the procedure to
get the MFC class wizard to produce the header file is no doubt different
(ask on the MFC group if you can't figure out how to do it).

If you're not using MFC, then the procedure givein in the KB article is not
relevant - you should use #import instead.

-cd


Nov 17 '05 #8
in**@mediaclubr oyale.com wrote:
Yea -- I was trying to get it work from C++ .Net (2003) -- which is a
whole different animal and never kicks out msoutl.h when you generate
from the typelib -- I reverted back to C++ 6.0 and it all works.


You can do it from VC7.1, but it works a bit differently. From the Class
View, right-click on the project and choose Add|Add Class... from the
context menu. Choose "MFC Class from TypeLib" from the borwser that
appears, then select the Outlook type library, and select the interfaces you
want wrappers for. Unlike VC6, which generated a single large header file
that contains wrappers for the entire type library, VC7.1 will create one
header for each interface that you selected.

-cd
Nov 17 '05 #9

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

Similar topics

1
1155
by: Sergey P. Vazulia | last post by:
this part of my code: f = file(work_dir + filename,'r') n = int(totalSize/recordLenth) i = 0 while i < n: buf = f.read(recordLenth); sometime (when find something like \0A\00\00 in data) returm less bytes then file have.
2
1354
by: shwetu | last post by:
Need a file dialog box in asp.net 2.0 which selects folder not single file
1
2320
by: steve | last post by:
Hi, Hoping some one can help here, trying to get xampp....0.8.1.sh for solaris 9 x86. I only have access to the web via a windows box to download the .sh file. Windows corrupts the file so can not get it to the unix box tied up behind a firewall. Can anyone do a gzipped version of the xampp file for me?
3
1510
donilourdu
by: donilourdu | last post by:
hi all, I need sample code for convertion images to pdf format in vb.net.Also tell the free dll file for that . Looking for favor.......... with regards, Doni Agna Lourdu.M
6
2096
by: shalmi27 | last post by:
hi every1 me new to this forum.... well i really need help... i want a c++ file handling program... for eg: like hotel management,games,railway reservation...... the program..must b able to change or del the particular data...given by the user.... plsss...any1..who can help me..plss d help me...
0
921
by: gsuns82 | last post by:
Hi all, can u name the jar to be used for <%@ taglib uri="/tags/taglib" prefix="comp"%> in my jsp page??? Thanks&Regards, sundar
2
2644
by: mesho | last post by:
Hi Forum Members, I am trying to write a program that read the outlook files "pst" and classify the emails in a user defined folders (In MS Outlook). I dont know where and how to start. So is there any body that can give me a start point or give me the code? I would like to do this in visual basic or C++.
3
1443
by: msalmanzaib | last post by:
Help me i want to store data of this program to a text file. my compiler is Dev C++ . Data code for text file is in bold form ::Full code deleted, please post only the relevant text and errors::
1
1901
by: Matt Tonkin | last post by:
Hi: I need to automate outlook to send an email to me when my Outlook calendar is updated but i am not at my desk. I have written a code that will compile and tabulate my calendar for the day, place this in an email, and send it to me. But, i cannot figure how to get this script to automatically execute when a new appointment lands in my calendar....
0
7694
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7921
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7666
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.