Re: Building a monitoring agent - request for comments.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Joe B." <mapi@xxxxxxxxxx> wrote in
news:pan.2005.09.20.22.00.49.935937@xxxxxxxxxx:
> Anyone have a guide covering the proper setup of an
> environment? Not just compile time requirements but run time as well.

Compile time, you'll need the standard set of DevStudio libraries and
header files. Runtime, see below.

> Will the hosts I deploy this on need any additional libraries, etc. I
> was initially developing on a Visual C++ 2005 Express Beta but will be
> moving to .NET 2003.

Ugh. It looks like VC++2005Express is pretty thoroughly cut down from
the real thing -- looking on MS's FAQ for that, it's missing MFC and
ATL, which makes me suspect it may well be missing all sorts of other
bits you'll need.

Dmitry mentioned the Exchange 5.5 SDK -- you should read
http://blogs.msdn.com/jasonjoh/archive/2004/08/01/204585.aspx
for more on that. There's gotchas even if you _do_ have all the headers
and what not.

As for deployment, if you're using Extended MAPI, then you'll have to
have those systems installed on the PCs that will run this stuff. In
practise, this basically means you'll have to install Outlook on those
PCs.

-- dan
.



Relevant Pages

  • Name mangling causes link errors ... how disable mangling?
    ... at compile time my compiler is mangling the library function ... header files that say "Treat these as normal C functions without mangling". ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Object-oriented programming in standard ANSI C
    ... structs (e.g. struct Shape) in the header files. ... and made 'private', i.e. static, in the respecive *.c file. ... if it can determine the actual type at compile time. ...
    (comp.lang.c)
  • Re: #include in header file for size_t
    ... Malcolm wrote: ... There's nothing wrong with including header files in header files. ... The waters are muddied further when the compiler supports some form of pre-compiled headers, where a global header that includes all headers can save a significant amount of compile time. ...
    (comp.lang.c)