Shell functions in Windows Server Core/Nano

  • Thread starter Thread starter Tony461
  • Start date Start date
T

Tony461

Guest
Hi all,

we are attempting to build some of our existing projects so they can run on Windows Server Core and Nano. We've added WINAPI_FAMILY=WINAPI_FAMILY_SERVER to the pre-processor definitions for the relevant projects. We are getting quite a few compiler errors. A lot of the errors are related to file/directory type functions that are found in the SDK shell libraries. Functions such as SHCreateDirectroyEx, PathIsRoot, GetShortPathName, SHFileOperation, etc.

Why are these functions only available for the desktop ?

Or is setting WINAPI_FAMILY=WINAPI_FAMILY_SERVER the wrong thing to do to compile for Windows Server Core/Nano ?

Anthony

Continue reading...
 
Back
Top