[if gte mso 9]>
Subject: [edk2] ShellLib Portability Problems
From: "Cohen, Eugene" <firstname.lastname@example.org>
To: "email@example.com" <firstname.lastname@example.org>
Date: 2011-09-20 00:16:12
I’m trying to create a standalone shell application using UefiShellLib.
UefiShellLib depends on HiiLib. HiiLib’s constructor looks for the UEFI HII Database Protocol. On systems that do not implement HII or implement the old HII, this fails with an ASSERT.
It looks like it is not possible to create a portable shell application that can run on any UEFI system using UefiShellLib because of this HII dependency. It would be useful if there was a Shell lib that did not depend on HII to accommodate portable/standalone shell application operation.
Any recommendations on how to resolve this short of not using UefiShellLIb?