LStatus definition problem with winreg.h

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.

Comments are closed.