• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

Exchext.h

I want to extent Exchange and therefor I'm trying to write a  dll using Visual C++. I tried to invoke exchext.h to get some useful definitions, but when trying to compile i end up with: "C:\MSDEV\INCLUDE\Exchext.h(130) : error C2501: 'LPMDB' : missing decl-specifiers" What should a do to make it work properly?

/ Andreas
0
cost
Asked:
cost
1 Solution
 
mikeblasCommented:
LPMDB isn't declared when you include EXCHEX.H.  You need to include MAPIDEFS.H before you include EXCHEXT.H.  MAPIDEFS.H has the declaration for LPMDB.

.B ekiM



0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now