Build LSX 8.0 solutions with Visual C++ 2008 Express

This is a quick update for the article I wrote yesterday about  the “LStatus definition problem with winreg.h“.

VS 2008 Express Edition does install the Microsoft Platform SDK Version 6.1 during setup. This version conflicts with the Lotus eXtension Toolkit 8.0.

Unfortunately, there is no option to not install the SDK. So here is what I did:

  • Run setup to install VC++ 2008 with all components.
  • Remove the Platform SDK via Windows System Control ( Add / Remove software )
  • Install the Platform SDK for Windows Server 2003 SP1
  • Configure VC++ to point to the SDK

The LSX samples will now compile properly. If you get errors on linking, be sure to add uuid.lib user32.lib and Ole32.lib as additional dependencies.

I’m not sure, if there are any side effects when replacing the SDK. If anyone has some deeper knowledge on this topic, pls. feel free to leave a comment.