LStatus definition problem with winreg.h

December 21, 2009 – 8:51 am

I installed the new Lotus eXtension Toolkit on top of my VS  2008 C++ Express compiler.

The compiler works fine for code generated using the C-API toolkit. But when I try to compile the samples that come with the Lotus eXtension toolkit, the compiler throws an error when compiling lsxcomm.cpp

c:\program files\microsoft sdks\windows\v6.0a\include\winreg.h(175) : error C2371: ‘LSTATUS’ : redefinition; different basic types c:\c-api\lsx8\inc\sys\lssam.h(385) : see declaration of ‘LSTATUS’

As far as I could see from the CfgEnv.cmd file, VS2008 is a supported compiler. And I found a comment on Bob Balaban’s blog that reported exactly the same issue.

So I wonder, if anybody was able to solve the problem and can give me a hint, what to do. I’m afraid, opening a PMR would not be the most effective way to do so … but still is an option.

Related posts:

  1. Build LSX 8.0 solutions with Visual C++ 2008 Express
  2. Error moving user to another server
  3. 12 Things A Klingon Programmer Would Say
  4. Web users are unable to upload files larger than 10 MB
  5. Supported Configurations of Notes and Domino 7.0

  1. 1 Trackback(s)

  2. Jan 9, 2010: Build LSX 8.0 solutions with Visual C++ 2008 Express - By Ulrich Krause - eknori.de

Post a Comment